Sunan an-Nasa'i, Book 5, Hadith 40 (Nasa'i 489)

Abu Bakr bin 'Umarah bin Ruwaibah narrated that his father said:

"I heard the Messenger of Allah (ﷺ) say: 'No one will enter the Fire who prays before the sun rises and before it sets.'"