عَنْ أَنَسِ بْنِ مَالِكٍ رَضِيَ اللَّهُ عَنْهُ أَنَّ أُمَّ سُلَيْمٍ سَأَلَتِ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ عَنِ امْرَأَةٍ تَرَى فِي مَنَامِهَا مَا يَرَى الرَّجُلُ، فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ: ((مَنْ رَأَتْ ذَلِكَ مِنْكُنَّ فَأَنْزَلَتْ فَلْتَغْتَسِلْ)) قَالَتْ أُمُّ سَلَمَةَ: أَوَ يَكُونُ ذَلِكَ يَا رَسُولَ اللَّهِ؟ قَالَ: ((نَعَمْ، مَاءُ الرَّجُلِ غَلِيظٌ أَبْيَضُ وَمَاءُ الْمَرْأَةِ أَصْفَرُ رَقِيقٌ، فَأَيُّهَا سَبَقَ أَوْ عَلَا أَشْبَهَ الْوَلَدُ))
It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that Sayyida Umm Sulaym (may Allah be pleased with her) asked the Noble Prophet (peace and blessings be upon him) about a woman who sees in her dream what a man sees. The Prophet (peace and blessings be upon him) said: When any woman among you sees such a dream and then experiences discharge, she should perform ghusl (ritual bath). Sayyida Umm Salamah (may Allah be pleased with her) said: O Messenger of Allah! Does this also happen to women? The Prophet (peace and blessings be upon him) said: Yes, the fluid of a man is white and thick, and the fluid of a woman is yellow and thin. Whichever of them prevails, the child resembles that one.