Sunan an-Nasa'i, Book 1, Hadith 196 (Nasa'i 196)

It was narrated from Anas that Umm Sulaim asked the Messenger of Allah (ﷺ) about a woman who sees in her dream something like a man sees. He said:

"If water is released then let her perform Ghusl."