Mishkat al-MasabihChapter 4Hadith 579
Full Sharh — Mishkat al-Masabih 579
عَن عمَارَة بن روبية قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «لَنْ يَلِجَ النَّارَ أَحَدٌ صَلَّى قَبْلَ طُلُوعِ الشَّمْسِ وَقَبْلَ غُرُوبِهَا» يَعْنِي الْفَجْرَ وَالْعصر. (رَوَاهُ مُسلم)
English Translation
‘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.
Source
Mishkat al-Masabih(مشكاة المصابيح)
Prayer
Hadith Number
579