Sayyiduna Abu Mas'ud (may Allah be pleased with him) said: The sun was eclipsed in the time of the Messenger of Allah (peace and blessings be upon him), and some people said: The sun has been eclipsed only because of the death of Ibrahim (peace be upon him). At this the Prophet (peace and blessings be upon him) said: "The sun and the moon are not eclipsed for the death or the life of anyone; rather, they are two of the signs of Allah. So when you see this, pray."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 14646