Abu Masud Uqba bin Amr reported,

The Prophet ﷺ said, "The sun and the moon do not eclipse for the death of anyone, but they are two of the signs of Allah عز وجل. So when you see them, stand and pray."

Azami 2973

Sahih

عن أبي مسعود البدري قال

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

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