The Prophet (ﷺ) was asked about a person who found moisture (on his body or clothes) but…

Sunan Abu Dawud Book 1 Hadith 236

Sunan Abu Dawud #236

Purification (Kitab Al-Taharah) 1:236

Narrated Aisha, Ummul Mu'minin:

The Prophet (ﷺ) was asked about a person who found moisture (on his body or clothes) but did not remember the sexual dream. He replied: He should take a bath. He was asked about a person who remembered that he had a sexual dream but did not find moisture. He replied: Bath is not necessary for him. Umm Salamah then asked: Is washing necessary for a woman if she sees that (in her dream)? He replied: Yes. Woman are counterpart of men.

Chapter: A Person Who Sees Some Wetness (On His Clothes) After Sleeping