It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: The sun and the moon are not eclipsed because of anyone’s death or life; they are two signs among the signs of Allah. So when you see them eclipsed, turn towards prayer.