Verily the sun and the moon are the two signs among the signs of Allah by which He frightens his servants and they do not eclipse on account of the death of any one of the people. So when you see anything about them, observe prayer, supplicate Allah till it is cleared from you. (Using translation from Muslim 911a)
"إِنَّ الشَّمْسَ والْقَمَرَ لا يَنْكَسِفَانِ لِمَوْتِ أَحَد، وَلا لِحَيَاتِه، ولَكِنَّهُما آيَتَانِ مِنْ آيَاتِ الله يُخوِّفُ الله بِهما عبَادَه، فَإِذا رأيتُم ذَلِكَ فَصَلُّوا وادْعوا حتَّى يكْشفَ مَا بِكُمْ".