Sunan an-Nasa'i 1462
Grading supplied with this record: Sahih (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنَّ الشَّمْسَ وَالْقَمَرَ لاَ يَنْكَسِفَانِ لِمَوْتِ أَحَدٍ وَلَكِنَّهُمَا آيَتَانِ مِنْ آيَاتِ اللَّهِ عَزَّ وَجَلَّ فَإِذَا رَأَيْتُمُوهُمَا فَصَلُّوا "
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 or birth of anyone, rather they are two of the signs of Allah (SWT), the Mighty and Sublime, so when you see that then pray.'"
Full reference and source
Sunan an-Nasa'i 1462 In-book : Book 16, Hadith 4 English translation : Vol. 2, Book 16, Hadith 1463
View source on Sunnah.com (opens in a new tab)