Mishkat al-Masabih 433
وَعَنْ أُمِّ سَلَمَةَ قَالَتْ قَالَتْ أُمُّ سُلَيْمٍ: يَا رَسُولَ اللَّهِ إِنَّ اللَّهَ لَا يَسْتَحْيِي مِنَ الْحَقِّ فَهَلْ عَلَى الْمَرْأَةِ من غسل إِذا احْتَلَمت قَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ «إِذَا رَأَتِ الْمَاءَ» فَغَطَّتْ أُمُّ سَلَمَةَ وَجْهَهَا وَقَالَتْ يَا رَسُولَ اللَّهِ أَوَتَحْتَلِمُ الْمَرْأَةُ قَالَ: «نعم تربت يَمِينك فَبِمَ يشبهها وَلَدهَا؟»
From Umm Salamah, who said: Umm Sulaym said: "O Messenger of Allah, Allah is not shy of the truth. Must a woman perform ghusl if she has a wet dream?" The Prophet ﷺ said: "If she sees the fluid." Umm Salamah covered her face and said: "O Messenger of Allah, does a woman have wet dreams?" He said: "Yes, may your right hand be covered in dust! How else would her child resemble her?"