The Book of Fasting (Kitab Al-Sawm)

Muslim :: Book 6 : Hadith 2456

Sulaiman b. Yasar reported that he asked Umm Salama whether a person (who gets up) in the morning in a state of junub should observe fast. She said: The Messenger of Allah (may peace be upon him) (at times) got up in the morning in a state of junub, not because of sexual dreams (but on account of intercourse at night), and then observed fast.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star