صحيح البخاري Sahih Bukhari كتاب الكسوف The Book of The Eclipses.
بَابُ الصَّلاَةِ فِي كُسُوفِ الشَّمْسِ:

(1) Chapter. As-Salat (the prayer) during a solar eclipse.

4 hadith
Hadith 1040
حَدَّثَنَا عَمْرُو بْنُ عَوْنٍ ، قَالَ : حَدَّثَنَا خَالِدٌ ، عَنْ يُونُسَ ، عَنْ الْحَسَنِ ، عَنْ أَبِي بَكْرَةَ ، قَالَ : " كُنَّا عِنْدَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَانْكَسَفَتِ الشَّمْسُ ، فَقَامَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَجُرُّ رِدَاءَهُ حَتَّى دَخَلَ الْمَسْجِدَ ، فَدَخَلْنَا فَصَلَّى بِنَا رَكْعَتَيْنِ حَتَّى انْجَلَتِ الشَّمْسُ ، فَقَالَ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : إِنَّ الشَّمْسَ وَالْقَمَرَ لَا يَنْكَسِفَانِ لِمَوْتِ أَحَدٍ ، فَإِذَا رَأَيْتُمُوهُمَا فَصَلُّوا وَادْعُوا حَتَّى يُكْشَفَ مَا بِكُمْ " .
Narrated Abu Bakra: We were with Allah's Apostle when the sun eclipsed. Allah's Apostle stood up dragging his cloak till he entered the Mosque. He led us in a two-rak`at prayer till the sun (eclipse) had cleared. Then the Prophet (p.b.u.h) said, "The sun and the moon do not eclipse because of someone's death. So whenever you see these eclipses pray and invoke (Allah) till the eclipse is over."
Hadith Reference Sahih Bukhari / The Book of The Eclipses. / Hadith: 1040
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1041
حَدَّثَنَا شِهَابُ بْنُ عَبَّادٍ ، قَالَ : حَدَّثَنَا إِبْرَاهِيمُ بْنُ حُمَيْدٍ ، عَنْ إِسْمَاعِيلَ ، عَنْ قَيْسٍ ، قَالَ : سَمِعْتُ أَبَا مَسْعُودٍ ، يَقُولُ : قَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " إِنَّ الشَّمْسَ وَالْقَمَرَ لَا يَنْكَسِفَانِ لِمَوْتِ أَحَدٍ مِنَ النَّاسِ وَلَكِنَّهُمَا آيَتَانِ مِنْ آيَاتِ اللَّهِ ، فَإِذَا رَأَيْتُمُوهُمَا فَقُومُوا فَصَلُّوا " .
Narrated Abu Mas`ud: The Prophet said, "The sun and the moon do not eclipse because of the death of someone from the people but they are two signs amongst the signs of Allah. When you see them stand up and pray."
Hadith Reference Sahih Bukhari / The Book of The Eclipses. / Hadith: 1041
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1042
حَدَّثَنَا أَصْبَغُ ، قَالَ : أَخْبَرَنِي ابْنُ وَهْبٍ ، قَالَ : أَخْبَرَنِي عَمْرٌو ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ الْقَاسِمِ حَدَّثَهُ ، عَنِ أَبِيهِ ، عَنْ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا ، أَنَّهُ كَانَ يُخْبِرُ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ " إِنَّ الشَّمْسَ وَالْقَمَرَ لَا يَخْسِفَانِ لِمَوْتِ أَحَدٍ وَلَا لِحَيَاتِهِ وَلَكِنَّهُمَا آيَتَانِ مِنْ آيَاتِ اللَّهِ ، فَإِذَا رَأَيْتُمُوهَا فَصَلُّوا " .
Narrated Ibn `Umar: The Prophet said, "The sun and the moon do not eclipse because of the death or life (i.e. birth) of someone but they are two signs amongst the signs of Allah. When you see them offer the prayer."
Hadith Reference Sahih Bukhari / The Book of The Eclipses. / Hadith: 1042
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1043
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ ، قَالَ : حَدَّثَنَا هَاشِمُ بْنُ الْقَاسِمِ ، قَالَ : حَدَّثَنَا شَيْبَانُ أَبُو مُعَاوِيَةَ ، عَنْ زِيَادِ بْنِ عِلَاقَةَ ، عَنْ الْمُغِيرَةِ بْنِ شُعْبَةَ ، قَالَ : كَسَفَتِ الشَّمْسُ عَلَى عَهْدِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَوْمَ مَاتَ إِبْرَاهِيمُ ، فَقَالَ النَّاسُ : كَسَفَتِ الشَّمْسُ لِمَوْتِ إِبْرَاهِيمَ ، فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " إِنَّ الشَّمْسَ وَالْقَمَرَ لَا يَنْكَسِفَانِ لِمَوْتِ أَحَدٍ وَلَا لِحَيَاتِهِ ، فَإِذَا رَأَيْتُمْ فَصَلُّوا وَادْعُوا اللَّهَ " .
Narrated Al-Mughira bin Shu`ba: "The sun eclipsed in the lifetime of Allah's Apostle on the day when (his son) Ibrahim died. So the people said that the sun had eclipsed because of the death of Ibrahim. Allah's Apostle said, "The sun and the moon do not eclipse because of the death or life (i.e. birth) of someone. When you see the eclipse pray and invoke Allah."
Hadith Reference Sahih Bukhari / The Book of The Eclipses. / Hadith: 1043
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة