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 ghusl if she has a wet dream?"The Prophet ﷺ replied, "Yes, if she sees the fluid."Umm Salama covered her face and said, "Messenger of Allah, does a woman have wet dreams?"He answered, "Yes, may your right hand be dusty. How else would her child resemble her?"

Bukhari 130

Sahih

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

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

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

البخاري 130صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Knowledge
Chapter
Modesty in seeking knowledge
Numbering
Darussalam 130
Bukhari 130