Sahih Muslim #914
The Book of Prayer - Eclipses 10:30
'Abdullah b. 'Umar reported that the Messenger of Allah (ﷺ) observed:
Verily the sun and the moon do not eclipse on account of the death or life of anyone. They are in fact the signs among the signs of Allah. So when you see them, observe prayer.