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.'" (FR)
English reference (FR): Vol. 1, Book 7, Hadith 1702 (FR)
Arabic reference (FR): Book 7, Hadith 1772 (FR)