It was narrated that Abu Mas’ud said:The Messenger of Allah (ﷺ) said: “The sun and the moon do not become eclipsed for the death of anyone among mankind. If you see that, then stand and perform prayer.”
Hadith No. 1261
Sunan Ibn Majah
Gradings:
Al-Albani:
Sahih
Muhammad Fouad Abd al-Baqi:
Sahih
Zubair Ali Zai:
Sahih - Bukhari And Muslim