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 of Allah's signs. They are not eclipsed for the death or life of anyone. When you see this, call upon Allah and pray until it clears."

Azami 2974

Sahih

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

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

الأعظمي 2974صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Eclipse prayer
Section
Command to pray during an eclipse
Numbering
Jami al-Kamil 2974 (2nd edition)
Azami 2974