Sunan an-Nasa'i #1488 · The Book of Eclipses

Sunan an-Nasa'iIt was narrated from An-Nu'man bin Bashir that
Sunan an-Nasa'i · Book 16 · The Book of Eclipses
Sunan an-Nasa'i · كتاب 16 · كتاب الكسوف
The Prophet (ﷺ) said: "If there is an eclipse of the sun or the moon, pray like the last obligatory prayer you did before that
أَخْبَرَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، عَنْ مُعَاذِ بْنِ هِشَامٍ، قَالَ حَدَّثَنِي أَبِي، عَنْ قَتَادَةَ، عَنْ أَبِي قِلاَبَةَ، عَنِ النُّعْمَانِ بْنِ بَشِيرٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏
"‏ إِذَا خَسَفَتِ الشَّمْسُ وَالْقَمَرُ فَصَلُّوا كَأَحْدَثِ صَلاَةٍ صَلَّيْتُمُوهَا ‏"‏ ‏.‏
Reference : Sunan an-Nasa'i 1488In-book reference : Book 16, Hadith 30