Hadith 1484

Abu Musa said: There was an eclipse of the sun, and the Prophet got up in trepidation fearing that the last hour fiad come. He then went to the mosque and prayed, standing, bowing and prostrating himself longer than I had ever seen him do. He then said, “These signs which God sends do not come on account of anyone’s death or on account of his birth, but God produces dread in His servants by means of them. So when you see anything of that nature, apply yourselves to making mention of Him, supplication of Him and asking pardon of Him." (Bukhari and Muslim.)

وَعَنْ أَبِي مُوسَى قَالَ: خَسَفَتِ الشَّمْسُ فَقَامَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَزِعًا يَخْشَى أَنْ تَكُونَ السَّاعَةَ فَأَتَى الْمَسْجِدَ فَصَلَّى بِأَطْوَلِ قِيَامٍ وَرُكُوعٍ وَسُجُودٍ مَا رَأَيْتُهُ قَطُّ يَفْعَلُهُ وَقَالَ: «هَذِهِ الْآيَاتُ الَّتِي يُرْسِلُ اللَّهُ لَا تَكُونُ لِمَوْتِ أَحَدٍ وَلَا لِحَيَاتِهِ وَلَكِنْ يُخَوِّفُ اللَّهُ بِهَا عِبَادَهُ فَإِذَا رَأَيْتُمْ شَيْئًا مِنْ ذَلِكَ فَافْزَعُوا إِلَى ذِكْرِهِ وَدُعَائِهِ واستغفاره»

Reference: 5614840
In-book reference: Book 4, Hadith 1484