Mughira bin Shuba reported,

The sun was eclipsed during the lifetime of the Messenger of Allah ﷺ on the day Ibrahim died. 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 life of anyone. So when you see them, call upon Allah and pray until it clears."

Muslim 2122

Sahih

و حدثنا أبو بكر بن أبي شيبة ومحمد بن عبد الله بن نمير قالا حدثنا مصعب وهو ابن المقدام حدثنا زائدة حدثنا زياد بن علاقة وفي رواية أبي بكر قال قال زياد بن علاقة سمعت

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

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

مسلم 2122صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Eclipse
Chapter
Call for the eclipse prayer, "The prayer is congregating"
Numbering
Darussalam 2122
Muslim 2122