[Machine] Prophet Muhammad ﷺ said: "Whoever prays before sunrise and before sunset will not enter the Hellfire, and there was a man with him (the Prophet) who said, 'I have been exempted by the people of Basra.' The Prophet asked him, 'Have you heard this from the Messenger of Allah?' The man replied, 'Yes, I bear witness to it.' Prophet Muhammad ﷺ then said, 'And I bear witness that I heard the Prophet say this in the place from which you heard it.' Afan was present in that place."
عَنِ النَّبِيِّ ﷺ أَنَّهُ قَالَ لَا يَلِجُ النَّارَ مَنْ صَلَّى قَبْلَ طُلُوعِ الشَّمْسِ وَقَبْلَ غُرُوبِهَا وَعِنْدَهُ رَجُلٌ قَالَ عَفَّانُ مِنْ أَهْلِ الْبَصْرَةِ فَقَالَ أَنْتَ سَمِعْتَ هَذَا مِنْ رَسُولِ اللهِ ﷺ؟ فَقَالَ نَعَمْ أَشْهَدُ بِهِ عَلَيْهِ قَالَ وَأَنَا أَشْهَدُ لَقَدْ سَمِعْتُ النَّبِيَّ ﷺ يَقُولُهُ فِي الْمَكَانِ الَّذِي سَمِعْتَهُ مِنْهُ قَالَ عَفَّانُ فِيهِ