عن أبي مسعود عُقبة بن عَمْرو الأنصاري البَدْري رضي الله عنه مرفوعاً: «إن الشمس والقمر آيتان من آيات الله، يُخَوِّفُ الله بهما عباده، وإنهما لا يَنْخَسِفَان لموت أحد من الناس، فإذا رأيتم منها شيئا فَصَلُّوا، وَادْعُوا حتى ينكشف ما بكم»
[صحيح] - [متفق عليه]
Abu Mas‘ūd, ‘Uqbah ibn ‘Amr al-Ansāri al-Badri (may Allah be pleased with him) reported that the Prophet (may Allah’s peace and blessings be upon him) said: “The sun and the moon are two of the signs of Allah, by which Allah frightens His slaves. They do not eclipse on account of the death of anyone. So, when there is an eclipse, observe prayer and supplication till it (the eclipse) is over.”
Sahih/Authentic. - [Al-Bukhari and Muslim]
The Prophet (may Allah's peace and blessings be upon him) clarified that the sun and the moon are among the signs of Allah, the Almighty, that demonstrate His power and wisdom. He added that whenever their normal system experiences some change, this has nothing to do with the birth or death of great figures, as the people of the pre-Islamic period of ignorance used to believe. Earthly events have no effect upon them. This only aims at frightening the slaves of Allah, the Almighty, and reminding them of their sins and the due punishment, so that they turn to their Lord in repentance and ask for His forgiveness. For this reason, the Prophet (may Allah’s peace and blessings be upon him) instructed them to rush to prayer and supplication till such a situation ends and the sun or moon brightens. Indeed, the universe abounds with many divine secrets and hidden aspects of the wise planning.