Sunan Ibn Majah, Book 7, Hadith 65 (Ibn Majah 1702)

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.’”