"O Messenger of Allah, Allah is not shy to tell the truth. Does a women have to perform Ghusl if she has a wet dream?" He said: "Yes, if she sees water."[1] Umm Salamah laughed and said: "Do women really have wet dreams?" The Messenger of Allah ﷺ said: "How else would her child resemble her?" [1] That is, if she has an emission of the fluid of an orgasm.
يَا رَسُولَ اللَّهِ إِنَّ اللَّهَ لاَ يَسْتَحْيِي مِنَ الْحَقِّ هَلْ عَلَى الْمَرْأَةِ غُسْلٌ إِذَا هِيَ احْتَلَمَتْ قَالَ نَعَمْ إِذَا رَأَتِ الْمَاءَ فَضَحِكَتْ أُمُّ سَلَمَةَ فَقَالَتْ أَتَحْتَلِمُ الْمَرْأَةُ فَقَالَ رَسُولُ اللَّهِ ﷺ فَفِيمَ يُشْبِهُهَا الْوَلَدُ