(7) باب وُجُوبِ الْغُسْلِ عَلَى الْمَرْأَةِ بِخُرُوجِ الْمَنِيِّ مِنْهَا
It is reported on the authority of 'A'isha that a woman came to the Messenger of Allah (ﷺ) and inquired:
Should a woman wash herself when she sees a sexual dream and sees (the marks) of liquid? He (the Holy Prophet) said: Yes. 'A'isha said to her: May your hand be covered with dust and injured. She narrated: The Messenger of Allah (ﷺ) said: Leave her alone. In what way does the child resemble her but for the fact that when the genes contributed by woman prevail upon those of man, the child resembles the maternal family, and when the genes of man prevail upon those of woman the child resembles the paternal family.
Reference: Sahih Muslim 314 b
In-book reference: Book 3, Hadith 37
USC-MSA web (English) reference(deprecated numbering scheme): Book 3, Hadith 613