There was an eclipse of the sun in the time of the Messenger of Allah ﷺ had died. The people began to to say that there was an eclipse on account of the death of Ibrahim. The Prophet ﷺ stood up and led the people in prayer performing six bowings and four prostrations. he said: Allah is most great, and then recited from the Qur'an and prolonged the recitation. He then bowed nearly as long as he stood. He then raised his head and recited from the Qur'an but it was less than the first (recitation). He then bowed nearly as long as he stood. He then raised his head and then recited from the Quran for the third time, but it was less than the second recitation. He then bowed nearly as long as he stood. he then raised his head and then recited from the Qur'an for the third time, but it was less than the second recitation. he then bowed nearly as long as he stood. Then he raised his head and went down for prostration. he made two prostrations. He then stood and made three bowings before prostrating himself, the preceding bowing being more lengthy than the following, but he bowed nearly as long as he stood. He then stepped back during the prayer and the rows (of the people) too stepped back along with him. Then he stepped forward and stood in his place, and the rows too stepped forward. he then finished the prayer and the sun had become bright. He said: O people, the sun and the moon are two of Allah's signs; they are not eclipsed on account of a man's death. So when you see anything of that nature, offer prayer until the sun becomes bright. The narrator then narrated the rest of the tradition. (Using translation from Abū Dāʾūd 1178)
كَسَفَتِ الشَّمْسُ عَلَى عَهْدِ رَسُولِ اللهِ ﷺ وَكَانَ ذَلِكَ فِي الْيَوْمِ الَّذِي مَاتَ فِيهِ إِبْرَاهِيمُ ابْنُ رَسُولِ اللهِ ﷺ فَقَالَ النَّاسُ إِنَّمَا كَسَفَتِ الشَّمْسُ لِمَوْتِ إِبْرَاهِيمَ فَقَامَ النَّبِيُّ ﷺ فَصَلَّى بِالنَّاسِ سِتَّ رَكَعَاتٍ فِي أَرْبَعِ سَجَدَاتٍ كَبَّرَ ثُمَّ قَرَأَ فَأَطَالَ الْقِرَاءَةَ ثُمَّ رَكَعَ نَحْوًا مِمَّا قَامَ ثُمَّ رَفَعَ رَأْسَهُ فَقَرَأَ دُونَ الْقِرَاءَةِ الْأُولَى ثُمَّ رَكَعَ نَحْوًا مِمَّا قَامَ ثُمَّ رَفَعَ رَأْسَهُ فَقَرَأَ الْقِرَاءَةَ الثَّالِثَةَ دُونَ الْقِرَاءَةِ الثَّانِيَةِ ثُمَّ رَكَعَ نَحْوًا مِمَّا قَامَ ثُمَّ رَفَعَ رَأْسَهُ وَانْحَدَرَ لِلسُّجُودِ فَسَجَدَ سَجْدَتَيْنِ ثُمَّ قَامَ فَرَكَعَ ثَلَاثَ رَكَعَاتٍ قَبْلَ أَنْ يَسْجُدَ لَيْسَ فِيهَا رَكْعَةٌ إِلَّا الَّتِي قَبْلَهَا أَطْوَلُ مِنْهَا إِلَّا أَنْ يَكُونَ رُكُوعُهُ نَحْوًا مِنْ قِيَامِهِ ثُمَّ تَأَخَّرَ فِي صَلَاتِهِ فَتَأَخَّرَتِ الصُّفُوفُ مَعَهُ ثُمَّ تَقَدَّمَ فَقَامَ فِي مَقَامِهِ وَتَقَدَّمْتُ الصُّفُوفُ مَعَهُ فَقَضَى الصَّلَاةَ وَقَدْ طَلَعَتِ الشَّمْسُ فَقَالَ يَا أَيُّهَا النَّاسُ إِنَّ الشَّمْسَ وَالْقَمَرَ آيَتَانِ مِنْ آيَاتِ اللهِ لَا يَنْكَسِفَانِ لِمَوْتِ بَشَرٍ فَإِذَا رَأَيْتُمْ شَيْئًا مِنْ ذَلِكَ فَصَلُّوا حَتَّى تَنْجَلِيَ