Umm Sulaym came to the Prophet ﷺ and asked him about a woman who sees in her dream what a man sees.He replied, "Yes, if she sees the fluid, she must perform a full bath."I said, "You have embarrassed the women! Does a woman have such dreams?"The Prophet ﷺ said, "May your hands be dusty. Then how else does her child come to resemble her?"
حدثنا أبو بكر بن أبي شيبة وعلي بن محمد قالا حدثنا وكيع عن هشام بن عروة عن أبيه عن زينب بنت أم سلمة عن أمها
جاءت أم سليم إلى النبي ﷺ فسألته عن المرأة ترى في منامها ما يرى الرجل قال نعم إذا رأت الماء فلتغتسل فقلت فضحت النساء وهل تحتلم المرأة قال النبي ﷺ تربت يمينك فبم يشبهها ولدها إذا
Bukhari narrated it in the Book of Knowledge, chapter "Modesty in Seeking Knowledge," no. 130, 282, 3328, 6091, 6121, and Muslim in the Book of Menstruation, chapter "The Obligation of Ghusl upon a Woman When Semen Comes Out of Her," no. 313, from the hadith of Hisham, through the same chain.