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

(13) Chapter. The solar eclipse does not occur because of someone’s death or life.

2 hadith
Hadith 1057
حَدَّثَنَا مُسَدَّدٌ ، قَالَ : حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ ، عَنْ إِسْمَاعِيلَ ، قَالَ : حَدَّثَنِي قَيْسٌ ، عَنْ أَبِي مَسْعُودٍ ، قَالَ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " الشَّمْسُ وَالْقَمَرُ لَا يَنْكَسِفَانِ لِمَوْتِ أَحَدٍ وَلَا لِحَيَاتِهِ وَلَكِنَّهُمَا آيَتَانِ مِنْ آيَاتِ اللَّهِ ، فَإِذَا رَأَيْتُمُوهُمَا فَصَلُّوا " .
Narrated Abu Mas`ud: Allah's Apostle said, "The sun and the moon do not eclipse because of someone's death or life but they are two signs amongst the signs of Allah, so pray whenever you see them."
Hadith Reference Sahih Bukhari / The Book of The Eclipses. / Hadith: 1057
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1058
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ ، قَالَ : حَدَّثَنَا هِشَامٌ ، أَخْبَرَنَا مَعْمَرٌ ، عَنْ الزُّهْرِيِّ ، وَهِشَامِ بْنِ عُرْوَةَ ، عَنْ عُرْوَةَ ، عَنْ عَائِشَةَ رَضِيَ اللَّهُ ، عَنْهَا قَالَتْ : " كَسَفَتِ الشَّمْسُ عَلَى عَهْدِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، فَقَامَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَصَلَّى بِالنَّاسِ فَأَطَالَ الْقِرَاءَةَ ، ثُمَّ رَكَعَ فَأَطَالَ الرُّكُوعَ ، ثُمَّ رَفَعَ رَأْسَهُ فَأَطَالَ الْقِرَاءَةَ وَهِيَ دُونَ قِرَاءَتِهِ الْأُولَى ، ثُمَّ رَكَعَ فَأَطَالَ الرُّكُوعَ دُونَ رُكُوعِهِ الْأَوَّلِ ، ثُمَّ رَفَعَ رَأْسَهُ فَسَجَدَ سَجْدَتَيْنِ ، ثُمَّ قَامَ فَصَنَعَ فِي الرَّكْعَةِ الثَّانِيَةِ مِثْلَ ذَلِكَ ، ثُمَّ قَامَ فَقَالَ : إِنَّ الشَّمْسَ وَالْقَمَرَ لَا يَخْسِفَانِ لِمَوْتِ أَحَدٍ وَلَا لِحَيَاتِهِ وَلَكِنَّهُمَا آيَتَانِ مِنْ آيَاتِ اللَّهِ يُرِيهِمَا عِبَادَهُ ، فَإِذَا رَأَيْتُمْ ذَلِكَ فَافْزَعُوا إِلَى الصَّلَاةِ " .
Narrated `Aisha: In the lifetime of the Prophet the sun eclipsed and the Prophet (p.b.u.h) stood up to offer the prayer with the people and recited a long recitation, then he performed a prolonged bowing, and then lifted his head and recited a prolonged recitation which was shorter than the first. Then he performed a prolonged bowing which was shorter than the first and then lifted his head and performed two prostrations. He then stood up for the second rak`a and offered it like the first. Then he stood up and said, "The sun and the moon do not eclipse because of someone's life or death but they are two signs amongst the signs of Allah which He shows to His worshipers. So whenever you see them, make haste for the prayer."
Hadith Reference Sahih Bukhari / The Book of The Eclipses. / Hadith: 1058
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة