Sahih Muslim , Book 4, Hadith 1325 (USC-MSA) ⓘ
Umara b. Ruwaiba reported on the authority of his father that the Messenger of Allah said: He who said prayer before the rising of the sun and its setting would not enter the fire (of Hell), and there was a man from Basra (sitting) beside him who said: Did you hear it from the Messenger of Allah (way peace be upon him)? He said: Yes, I bear witness to it. The man from Basra said: I bear witness that I did hear from the Messenger of Allah saying it from the place that you heard from him.
وَحَدَّثَنِي يَعْقُوبُ بْنُ إِبْرَاهِيمَ الدَّوْرَقِيُّ، حَدَّثَنَا يَحْيَى بْنُ أَبِي بُكَيْرٍ، حَدَّثَنَا شَيْبَانُ، عَنْ عَبْدِ الْمَلِكِ بْنِ عُمَيْرٍ، عَنِ ابْنِ عُمَارَةَ بْنِ رُؤَيْبَةَ، عَنْ أَبِيهِ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " لاَ يَلِجُ النَّارَ مَنْ صَلَّى قَبْلَ طُلُوعِ الشَّمْسِ وَقَبْلَ غُرُوبِهَا " . وَعِنْدَهُ رَجُلٌ مِنْ أَهْلِ الْبَصْرَةِ فَقَالَ آنْتَ سَمِعْتَ هَذَا مِنَ النَّبِيِّ صلى الله عليه وسلم قَالَ نَعَمْ أَشْهَدُ بِهِ عَلَيْهِ . قَالَ وَأَنَا أَشْهَدُ لَقَدْ سَمِعْتُ النَّبِيَّ صلى الله عليه وسلم يَقُولُهُ بِالْمَكَانِ الَّذِي سَمِعْتَهُ مِنْهُ .
also referenced under: Book 5, Hadith 273 (In-Book) & Hadith 634 (Reference)