Umm Salama bint Abu Umaya reported,

Umm Sulaym came to the Prophet ﷺ and said, "Messenger of Allah, Allah is not shy of the truth. Does a woman have to perform the ritual bath if she has a wet dream?"The Messenger of Allah ﷺ replied, "Yes, if she sees the fluid."Umm Salama said, "Messenger of Allah, does a woman really have wet dreams?"He said, "May your hands be dusty! How else would her child resemble her?"

Muslim 712

Sahih

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

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

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

مسلم 712صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Menstruation
Chapter
Obligation of ghusl upon a woman when mani exits from her
Numbering
Darussalam 712
Muslim 712