Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) narrated that on the day Ibrahim (may Allah be pleased with him), the son of the Messenger of Allah (peace and blessings be upon him), died, there was a solar eclipse that same day. The people said: This eclipse has occurred because of the death of Ibrahim, the son of the Messenger of Allah. So the Messenger of Allah (peace and blessings be upon him) said: "The sun and the moon are not eclipsed because of anyone's death or life. When you see that, pray until the eclipse is over."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10029