(13) باب صِحَّةِ صَوْمِ مَنْ طَلَعَ عَلَيْهِ الْفَجْرُ وَهُوَ جُنُبٌ
Abu Bakr reported that Marwan sent him to Umm Salama to ask whether a person should observe fast who is in a state of junub and the dawn breaks upon him, whereupon she said that the Messenger of Allah (ﷺ) (was at times) junbi on account of intercourse and not due to sexual dream, and the dawn broke upon him, but he neither broke the fast nor recompensed.
Reference: Sahih Muslim 1109 c
In-book reference: Book 13, Hadith 97
USC-MSA web (English) reference(deprecated numbering scheme): Book 6, Hadith 2453