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.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 5996
Hadith Gradingحکم دارالسلام:إسناده صحيح ، خ: 1042، م: 914.