Yahya related to me from Malik from Ibn Shihab from Urwa ibn az- Zubayr that Umm Sulayman said to the Messenger of Allah ﷺ "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 ﷺ said to her, "May your right hand be full of dust. From where does family resemblance come?"
قَالَتْ لِرَسُولِ اللَّهِ ﷺ الْمَرْأَةُ تَرَى فِي الْمَنَامِ مِثْلَ مَا يَرَى الرَّجُلُ أَتَغْتَسِلُ فَقَالَ لَهَا رَسُولُ اللَّهِ ﷺ نَعَمْ فَلْتَغْتَسِلْ فَقَالَتْ لَهَا عَائِشَةُ أُفٍّ لَكِ وَهَلْ تَرَى ذَلِكَ الْمَرْأَةُ فَقَالَ لَهَا رَسُولُ اللَّهِ ﷺ تَرِبَتْ يَمِينُكِ وَمِنْ أَيْنَ يَكُونُ الشَّبَهُ