Umm Salama bint Abu Umaya reported,

Umm Sulaym came to the Messenger of Allah ﷺ and said, "Messenger of Allah, Allah is not shy of the truth. Does a woman have to perform a ritual bath if she has a wet dream?"He replied, "Yes, if she sees the fluid."Umm Salama laughed and said, "Does a woman have wet dreams?"The Messenger of Allah ﷺ responded, "Then how else would her child resemble her?"

Nasai 197

Sahih

أخبرنا شعيب بن يوسف قال حدثنا يحيى عن هشام قال أخبرني أبي عن زينب بنت أم سلمة

عن أم سلمة أن امرأة قالت

يا رسول الله إن الله لا يستحيي من الحق هل على المرأة غسل إذا هي احتلمت قال نعم إذا رأت الماء فضحكت أم سلمة فقالت أتحتلم المرأة فقال رسول الله ﷺ ففيم يشبهها الولد

النسائي 197صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Purification
Chapter
Bathing of a woman who sees in her sleep what a man sees
Numbering
Darussalam 197
Nasai 197