It wasnarrated that Nafi' said:
"I asked Umm Salamah about a man whogets up in the morning when he is in a state of sexual impurity andwants to fast. She said: "The Messenger of Allah (ﷺ) used to getupin the morning in a state of sexual impurity after havingintercourse,not from a wet dream, then he would take a bath andcomplete hisfast.'" (ES)
English reference (ES): Vol. 1, Book 7, Hadith 1704 (ES)
Arabic reference (ES): Book 7, Hadith 1774 (ES)