Before sunrise and before sunset

No one who prays before sunrise and sunset will enter the Fire.

Narrated by Umarah ibn Ruwaybah

No one who prays before the rising of the sun and before its setting, meaning Fajr and Asr, will enter the Fire.

Sahih Muslim 634

What this hadith teaches

Another strong promise for those who guard Fajr and Asr: they are kept away from the Fire.

Reference and grade

Grade
Sahih (in Sahih Muslim)
Narrator
Umarah ibn Ruwaybah

The hadith in Arabic نص الحديث

لَنْ يَلِجَ النَّارَ أَحَدٌ صَلَّى قَبْلَ طُلُوعِ الشَّمْسِ وَقَبْلَ غُرُوبِهَا ‏"‏ ‏.‏ يَعْنِي الْفَجْرَ وَالْعَصْرَ

Arabic text of Sahih Muslim 634, as given on sunnah.com.