Mishkat al-Masabih

‘Umara b. Ruwaiba said that he heard God's Messenger say, “No one will enter hell who has prayed before the rising of the sun and before its setting," meaning the dawn and the afternoon prayer. Muslim transmitted it.

عَن عمَارَة بن روبية قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «لَنْ يَلِجَ النَّارَ أَحَدٌ صَلَّى قَبْلَ طُلُوعِ الشَّمْسِ وَقَبْلَ غُرُوبِهَا» يَعْنِي الْفَجْرَ وَالْعصر. (رَوَاهُ مُسلم)