Sayyidah Zaynab (may Allah be pleased with her) narrates from Sayyidah Umm Salamah (may Allah be pleased with her); she said: Sayyidah Umm Sulaym (may Allah be pleased with her) came to the Prophet (peace and blessings be upon him) and asked him about a woman who sees in her dream what a man sees. He (peace and blessings be upon him) said: "When she sees the fluid (discharge), let her perform ghusl." I said to her: "You have embarrassed the women! Does a woman also have wet dreams?" The Prophet (peace and blessings be upon him) said: "May your right hand be covered in dust! Then how else does a child resemble its mother?"
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 20210