كتاب الطهارة
2  
Purity

Yahya related to me from Malik from Ibn Shihab from Urwa ibn az- Zubayr that Umm Sulayman said to the Messenger of Allah, may Allah bless him and grant him peace, "Should a woman do ghusl when she experiences the same as a man in her sleep?" The Messenger of Al lah said to her, "Yes, she should do ghusl. "A'isha said to her, "Shame on you! Does a woman see that?" (i.e. a liquid.) The Messenger of Allah, may Allah bless him and grant him peace, said to her, "May your right hand be full of dust. From where does family resemblance come?"

حَدَّثَنِي عَنْ مَالِكٍ، عَنِ ابْنِ شِهَابٍ، عَنْ عُرْوَةَ بْنِ الزُّبَيْرِ، أَنَّ أُمَّ سُلَيْمٍ، قَالَتْ لِرَسُولِ اللَّهِ صلى الله عليه وسلم الْمَرْأَةُ تَرَى فِي الْمَنَامِ مِثْلَ مَا يَرَى الرَّجُلُ أَتَغْتَسِلُ فَقَالَ لَهَا رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ نَعَمْ فَلْتَغْتَسِلْ ‏"‏ ‏.‏ فَقَالَتْ لَهَا عَائِشَةُ أُفٍّ لَكِ وَهَلْ تَرَى ذَلِكَ الْمَرْأَةُ فَقَالَ لَهَا رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ تَرِبَتْ يَمِينُكِ وَمِنْ أَيْنَ يَكُونُ الشَّبَهُ ‏"‏ ‏.‏
USC-MSA web (English) reference : Book 2, Hadith 86
Arabic reference : Book 2, Hadith 116