It wasnarrated that 'Abdullah bin 'Amr Al-Qari said:
"I heard Abuhurairah say: 'No, by the Lord of the Ka'bah! I did not say:"Whoeverwakes up in a state of sexual impurity (and wants to fast)then hemust not fast." Muhammad (ﷺ) said it.'" (JA)
English reference (JA): Vol. 1, Book 7, Hadith 1702 (JA)
Arabic reference (JA): Book 7, Hadith 1772 (JA)