It is narrated from Sayyidah Umm Salamah (may Allah be pleased with her); she said: A woman came to the Messenger of Allah (peace and blessings be upon him) while he (peace and blessings be upon him) was in the house of Umm Salamah, and she said: O Messenger of Allah! Tell me, if a woman sees in her dream what a man sees (what is the ruling)? Umm Salamah (may Allah be pleased with her) said: May you perish, you have disgraced the women! The woman said: Indeed, Allah is not shy of the truth. At this the Messenger of Allah (peace and blessings be upon him) said: "Whoever among you sees that, let her perform the ritual bath (ghusl)."
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 19857