ذِكْرُ الْأَمْرِ بِالصَّلَاةِ عِنْدَ رُؤْيَةٍ كُسُوفِ الشَّمْسِ، أَوِ الْقَمَرِ
[Machine] We were sitting with the Messenger of Allah ﷺ when the sun was eclipsed. The Messenger of Allah ﷺ stood up in fear, dragging his garment until he entered the mosque and performed two units of prayer. He continued to pray until the eclipse passed, and this occurred at the time of the death of Ibrahim, the son of the Messenger of Allah ﷺ . The people said, "The sun was eclipsed due to the death of Ibrahim." The Messenger of Allah ﷺ said, "O people, the sun and the moon are signs of Allah's creation. They do not eclipse for the death of anyone. So when you see an eclipse, supplicate to Allah until it clears."
كُنَّا عِنْدَ رَسُولِ اللَّهِ ﷺ جُلُوسًا فَانْكَسَفَتِ الشَّمْسُ فَقَامَ رَسُولُ اللَّهِ ﷺ فَزِعًا يَجُرُّ ثَوْبَهُ حَتَّى دَخَلَ الْمَسْجِدِ فَصَلَّى رَكْعَتَيْنِ فَلَمْ يَزَلْ يُصَلِّيهَا حَتَّى انْجَلَتْ وَكَانَ ذَلِكَ عِنْدَ مَوْتِ إِبْرَاهِيمَ ابْنِ رَسُولِ اللَّهِ ﷺ فَقَالَ النَّاسُ إِنَّمَا انْكَسَفَتِ الشَّمْسُ لِمَوْتِ إِبْرَاهِيمَ فَقَالَ رَسُولُ اللَّهِ ﷺ «يَا أَيُّهَا النَّاسُ إِنَّ الشَّمْسَ وَالْقَمَرَ آيَتَانِ مِنْ آيَاتِ اللَّهِ لَا يَنْكَسِفَانِ لِمَوْتِ أَحَدٍ فَإِذَا رَأَيْتُمْ ذَلِكَ فَادْعُوا حَتَّى يَكْشِفَ مَا بِكُمْ»