Sayyiduna Mughira bin Shu’bah (may Allah be pleased with him) narrates: During the blessed time of the Prophet (peace and blessings of Allah be upon him), there was a solar eclipse. This happened on the day when (the son of the Prophet, peace and blessings of Allah be upon him) Sayyiduna Ibrahim (may Allah be pleased with him) passed away. People said: This eclipse has occurred because of the death of Sayyiduna Ibrahim (may Allah be pleased with him). So the Prophet (peace and blessings of Allah be upon him) said: Indeed, the sun and the moon are two signs among the signs of Allah. They do not eclipse because of anyone’s death or life. When you see them (in the state of eclipse), supplicate and perform prayer until they become clear.
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 2827
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «تخريج فقه السيرة» (450)، «جزء صلاة الكسوف»: ق.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناد صحيح على شرط الشيخين