´It was narrated that ‘Abdullah bin ‘Amr Al-Qari said:` “I heard Abu hurairah say: ‘No, by the Lord of the Ka’bah! I did not say: “Whoever wakes up in a state of sexual impurity (and wants to fast) then he must not fast.” Muhammad (ﷺ) said it.’”
´It was narrated that ‘Aishah said:` “The Prophet (ﷺ) used to spend the night in a state of sexual impurity, then Bilal would come to him and inform him that it is time for prayer. So he would get up and have a bath, and I would see the water dripping from his head, then he would go out and I would hear his voice during Fajr prayer.” (One of the narrators) Mutarrif said: "I said to Amir: 'Was that during Ramadan?' He said: 'In Ramadan and at other times.'"
Hadith Referenceسنن ابن ماجه / كتاب الصيام / 1703
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:إسناده صحيح
´It was narrated that Nafi’ said:` “I asked Umm Salamah about a man who gets up in the morning when he is in a state of sexual impurity and wants to fast. She said: “The Messenger of Allah (ﷺ) used to get up in the morning in a state of sexual impurity after having intercourse, not from a wet dream, then he would take a bath and complete his fast.’”