The Messenger of Allah ﷺ said, "When the call for the dawn prayer is made and one of you is in a state of major impurity, he should not fast that day."
قال رسول الله ﷺ: إذا نودي بالصلاة- صلاة الصبح- وأحدكم جنب فلا يصوم يومئذ.
Imam Ahmad narrated it (8145) from Abdul-Razzaq, who said, Mamar informed us, from Hammam bin Munabbih, from Abu Hurairah, as mentioned. Ibn Hibban also narrated it (3485) via this same route, and its isnad is sahih.I did not find this route in Musannaf Abdul-Razzaq, but he narrated it (7399) from Ibn Jurayj, who said, Amr bin Dinar informed me, that Yahya bin Jadah informed him, from Abdullah bin Amr bin Abd Qari, that he heard Abu Hurairah say, "By the Lord of this House, whoever reaches dawn in a state of ritual impurity should break the fast, but it was Muhammad ﷺ who said that."Nasai narrated it in his Sunan al-Kubra (2936), and Ibn Majah (1702), both via another route from Sufyan bin Uyayna, from Amr bin Dinar, with his isnad, and its wording is, "No, by the Lord of the Kaaba, I did not say, 'Whoever wakes up in a state of ritual impurity should break the fast.' It was Muhammad ﷺ who said it."I say, this is abrogated, as Khattabi said, and that is why Abu Hurairah retracted this hadith of his when he was informed of the hadith of Ayesha and Umm Salama, as will come later.