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.'"
English reference: Vol. 1, Book 7, Hadith 1704
Arabic reference: Book 7, Hadith 1774