It is narrated from Sayyiduna Abu Mas'ud Ansari (may Allah be pleased with him): On the day when Ibrahim (may Allah be pleased with him), the son of the Messenger of Allah (peace and blessings be upon him), passed away, there was a solar eclipse. The Messenger of Allah (peace and blessings be upon him) said: "The sun and the moon are two signs among the signs of Allah; their eclipses are not due to anyone's death or life. When you see this sign, hasten to the remembrance of Allah and to prayer."
Hadith Referenceالسنن المأثورة / باب ما جاء في صلاة الكسوف / 50
Hadith Takhrijصحيح مسلم الكسوف، باب ذكر النداء بصلاة الكسوف، الصلاة جامعة ، رقم: 911۔