8. Ṣalāh (Ritual Prayer)

٨۔ كتاب الصلاة

8.51 whoever offered Salat (prayer) with furnace or fire or any other worshipable thing in front of him but he intended Salat solely for Allah

٨۔٥١ باب مَنْ صَلَّى وَقُدَّامَهُ تَنُّورٌ أَوْ نَارٌ أَوْ شَىْءٌ مِمَّا يُعْبَدُ، فَأَرَادَ بِهِ اللَّهَ

[Machine] And Al-Zuhri said: Anas informed me that the Prophet ﷺ said: "Hellfire was shown to me while I was praying."

وَقَالَ الزُّهْرِيُّ: أَخْبَرَنِي أَنَسٌ قَالَ: قَالَ النَّبِيُّ ﷺ: «عُرِضَتْ عَلَيَّ النَّارُ وَأَنَا أُصَلِّي».

bukhari:431ʿAbdullāh b. Maslamah > Mālik > Zayd b. Aslam > ʿAṭāʾ b. Yasār > ʿAbdullāh b. ʿAbbās

The sun eclipsed and Messenger of Allah ﷺ offered the eclipse prayer and said, "I have been shown the Hellfire (now) and I never saw a worse and horrible sight than the sight I have seen today."  

البخاري:٤٣١حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ عَنْ مَالِكٍ عَنْ زَيْدِ بْنِ أَسْلَمَ عَنْ عَطَاءِ بْنِ يَسَارٍ عَنْ عَبْدِ اللَّهِ بْنِ عَبَّاسٍ قَالَ

انْخَسَفَتِ الشَّمْسُ فَصَلَّى رَسُولُ اللَّهِ ﷺ ثُمَّ قَالَ أُرِيتُ النَّارَ فَلَمْ أَرَ مَنْظَرًا كَالْيَوْمِ قَطُّ أَفْظَعَ