The Prophet (ﷺ) said, "The sun and the moon are two signs amongst the Signs of Allah. They…

Sahih al-Bukhari Book 59 Hadith 13

Sahih al-Bukhari #3202

Beginning of Creation 59:13

Narrated `Abdullah bin `Abbas:

The Prophet (ﷺ) said, "The sun and the moon are two signs amongst the Signs of Allah. They do not eclipse because of someone's death or life. So, if you see them (i.e. eclipse), celebrate the Praises of Allah (i.e. pray).

Chapter: Characteristic of the sun and the moon

Grade: Sahih