The prophetic report states:
إِنَّ الشَّمْسَ وَالْقَمَرَ لَا يَنْكَسِفَانِ لِمَوْتِ أَحَدٍ مِنَ النَّاسِ
Translation: The sun and moon are not eclipsed because of any person’s death.
The same report treats them as signs of Allah and directs people toward prayer when an eclipse occurs, rejecting superstitious causal claims.