"The sun eclipsed in the lifetime of Allah's Messenger (ﷺ) on the day when (his son)…

Sahih al-Bukhari Book 16 Hadith 4

Sahih al-Bukhari #1043

Eclipses 16:4

Narrated Al-Mughira bin Shu`ba:

"The sun eclipsed in the lifetime of Allah's Messenger (ﷺ) on the day when (his son) Ibrahim died. So the people said that the sun had eclipsed because of the death of Ibrahim. Allah's Messenger (ﷺ) said, "The sun and the moon do not eclipse because of the death or life (i.e. birth) of someone. When you see the eclipse pray and invoke Allah."

Chapter: As-Salat (the prayer) during a solar eclipse

Grade: Sahih