8. Ṣalāh (Ritual Prayer)

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

8.53 (What is said about) offering Salat (Prayer) at the places where the earth had sunk down and Allah's punishment had fallen

٨۔٥٣ باب الصَّلاَةِ فِي مَوَاضِعِ الْخَسْفِ وَالْعَذَابِ

[Machine] It is mentioned that Ali disliked praying during the destruction of Babylon.

وَيُذْكَرُ أَنَّ عَلِيًّا ؓ كَرِهَ الصَّلاَةَ بِخَسْفِ بَابِلَ.

bukhari:433Ismāʿīl b. ʿAbdullāh > Mālik > ʿAbdullāh b. Dīnār > ʿAbdullāh b. ʿUmar

Messenger of Allah ﷺ said, "Do not enter (the places) of these people where Allah's punishment had fallen unless you do so weeping. If you do not weep, do not enter (the places of these people) because Allah's curse and punishment which fell upon them may fall upon you."  

البخاري:٤٣٣حَدَّثَنَا إِسْمَاعِيلُ بْنُ عَبْدِ اللَّهِ قَالَ حَدَّثَنِي مَالِكٌ عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ ؓ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لاَ تَدْخُلُوا عَلَى هَؤُلاَءِ الْمُعَذَّبِينَ إِلاَّ أَنْ تَكُونُوا بَاكِينَ فَإِنْ لَمْ تَكُونُوا بَاكِينَ فَلاَ تَدْخُلُوا عَلَيْهِمْ لاَ يُصِيبُكُمْ مَا أَصَابَهُمْ