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. (Using translation from Muslim 911b)
قَالَ رَسُولُ اللهِ ﷺ «إِنَّ الشَّمْسَ وَالْقَمَرَ لَيْسَ يَنْكَسِفَانِ لِمَوْتِ أَحَدٍ مِنَ النَّاسِ وَلَكِنَّهُمَا آيَتَانِ مِنْ آيَاتِ اللهِ فَإِذَا رَأَيْتُمُوهَا فَقُومُوا إِلَى الصَّلَاةِ»