Umar bin Qays al-Makki (may Allah have mercy on him) says that Ata' (may Allah have mercy on him) said: Abu Hurayrah (may Allah be pleased with him) made a very fine retraction concerning the person in a state of janabah who wakes up in the morning in that state without having taken a ritual bath.
Abu Bakr bin al-Mundhir (may Allah have mercy on him) says: The best thing I have heard on this matter is that it is understood as abrogation. In the early days of Islam, intercourse was forbidden after sleeping, just like eating and drinking. Then, when Allah Almighty permitted intercourse until the break of dawn, it also became permissible for the person in a state of janabah to fast that day before taking the ritual bath, because the prohibition had been lifted. Abu Hurayrah (may Allah be pleased with him) used to give rulings according to what he had heard from al-Fadl bin Abbas (may Allah be pleased with him), and he did not know of the abrogation; then, when he heard the hadith of Aishah and Umm Salamah (may Allah be pleased with them both), he turned to it.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصيام / 7998