“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.’”
Sunan Ibn Majah Book 7, Hadith 65