Mughira bin Shuba reported,

The sun was eclipsed on the day Ibrahim died, and the people said, "It has been eclipsed because of the death of Ibrahim."The Messenger of Allah ﷺ said, "The sun and the moon are two signs among the signs of Allah. They are not eclipsed for the death or the life of anyone. So when you see them, call upon Allah and pray until it clears."

Bukhari 1060

Sahih

حدثنا أبو الوليد قال حدثنا زائدة قال حدثنا زياد بن علاقة قال سمعت

المغيرة بن شعبة يقول

انكسفت الشمس يوم مات إبراهيم فقال الناس انكسفت لموت إبراهيم فقال رسول الله ﷺ إن الشمس والقمر آيتان من آيات الله لا ينكسفان لموت أحد ولا لحياته فإذا رأيتموهما فادعوا الله وصلوا حتى ينجلي

البخاري 1060صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Eclipse
Chapter
Supplication during the eclipse
Numbering
Darussalam 1060
Bukhari 1060