كتاب الكسوف
10  
The Book of Prayer - Eclipses
(5)
Chapter: The Call For The Eclipse Prayer: "As-Salatu Jami'ah (The Prayer Is Being Assembled)
(5)
باب ذِكْرِ النِّدَاءِ بِصَلاَةِ الْكُسُوفِ ‏"‏ الصَّلاَةَ جَامِعَةً ‏"‏ ‏
Sahih Muslim 911 b

Abu Mas'ud reported that the Messenger of Allah (ﷺ) said:

Verily the sun and the moon do not eclipse on account of the death of any one of the people, but they are the two signs among the signs of Allah. So when you see it, stand up and observe prayer.
وَحَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُعَاذٍ الْعَنْبَرِيُّ، وَيَحْيَى بْنُ حَبِيبٍ، قَالاَ حَدَّثَنَا مُعْتَمِرٌ، عَنْ إِسْمَاعِيلَ، عَنْ قَيْسٍ، عَنْ أَبِي مَسْعُودٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ إِنَّ الشَّمْسَ وَالْقَمَرَ لَيْسَ يَنْكَسِفَانِ لِمَوْتِ أَحَدٍ مِنَ النَّاسِ وَلَكِنَّهُمَا آيَتَانِ مِنْ آيَاتِ اللَّهِ فَإِذَا رَأَيْتُمُوهُ فَقُومُوا فَصَلُّوا ‏"‏ ‏.‏
Reference : Sahih Muslim 911b
In-book reference : Book 10, Hadith 24
USC-MSA web (English) reference : Book 4, Hadith 1988
  (deprecated numbering scheme)