Umm Sulaym asked the Prophet ﷺ about a woman who sees in her dream what a man sees. The Prophet ﷺ said, "If any of you sees that and experiences a discharge, she must perform the ritual bath."Umm Salama asked, "Does that really happen, Messenger of Allah?"He replied, "Yes. The man's fluid is thick and white, and the woman's fluid is yellow and thin. Whichever of the two precedes or rises above the other, the child resembles that parent."
حدثنا يزيد أخبرنا سعيد وابن جعفر قال حدثنا سعيد المعنى عن قتادة
أن أم سليم سألت النبي ﷺ عن امرأة ترى في منامها ما يرى الرجل فقال النبي ﷺ من رأت ذلك منكن فأنزلت فلتغتسل قالت أم سلمة أو يكون ذلك يا رسول الله قال نعم ماء الرجل غليظ أبيض وماء المرأة أصفر رقيق فأيهما سبق أو علا أشبهه الولد
Its isnad is sahih. Muslim narrated it, 1/250, no. 311, in "Menstruation," chapter on the obligation of a woman to perform ghusl due to the emission of seminal fluid, and Ibn Majah, 1/197, no. 601, in "Purification," chapter on a woman seeing something in her dream.