Sahih al-Bukhari 431
Sahih al-Bukhari · Book 8: Prayers (Salat) · Whoever offered Salat (prayer) with furnace or fire or any other worshipable thing in front of him but he intended Salat solely for Allah
Narrated `Abdullah bin `Abbas:
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ ، عَنْ مَالِكٍ ، عَنْ زَيْدِ بْنِ أَسْلَمَ ، عَنْ عَطَاءِ بْنِ يَسَارٍ ، عَنْ عَبْدِ اللَّهِ بْنِ عَبَّاسٍ ، قَالَ انْخَسَفَتِ الشَّمْسُ، فَصَلَّى رَسُولُ اللَّهِ صلى الله عليه وسلم ثُمَّ قَالَ " أُرِيتُ النَّارَ، فَلَمْ أَرَ مَنْظَرًا كَالْيَوْمِ قَطُّ أَفْظَعَ " .
The sun eclipsed and Allah's Messenger (ﷺ) 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."