The sun eclipsed on one extremely hot day during the lifetime of the Messenger of Allah ﷺ. The Messenger of Allah ﷺ prayed along with his Companions. He prolonged his qiyam (standing posture in prayer) till they (his Companions) began to fall down. He then observed a long ruku'. He raised his head (and stood up for long) and then observed a long ruku'. He then raised (his head and stood up) for a long time and then made two prostrations. He then stood up and did like this and thus he observed four ruku's and four prostrations (in two rak'ahs) and then said: All these things were brought to me in which you will be made to enter. Paradise was brought to me till (I was so close to it) that if I (had intended) to pluck a bunch (of grapes) out of it. I would have got it, or he (the Holy Prophet) said: I intended to get a bunch (out of that) but my hand could not reach it. Hell was also brought to me and I saw in it a woman belonging to the tribe of Israel who was tormented for a cat whom she had tied, but did not give it food nor set it free to eat the creatures of the earth; and I saw Abu Thumama 'Amr b. Malik who was dragging his intestines in Hell. They (the Arabs) used to say that the sun and the moon do not eclipse but on the death of some great person; but (in reality) both these (the sun and the moon) are among the signs of Allah which are shown to you; so when there is an eclipse, observe prayer till it (the sun or the moon) brightens. This hadith has been narrated by Hisham with the same chain of transmitters except this" I saw a dark woman with a tail stature and loud voice," but he made no mention of" from among Bani Israel". (Using translation from Muslim 904a)
كَسَفَتِ الشَّمْسُ عَلَى عَهْدِ رَسُولِ اللهِ ﷺ فِي يَوْمٍ شَدِيدِ الْحَرِّ فَصَلَّى رَسُولُ اللهِ ﷺ فَأَطَالَ الْقِيَامَ حَتَّى جَعَلُوا يَخِرُّونَ قَالَ ثُمَّ رَكَعَ فَأَطَالَ ثُمَّ رَفَعَ فَأَطَالَ ثُمَّ رَكَعَ فَأَطَالَ ثُمَّ رَفَعَ فَأَطَالَ ثُمَّ سَجَدَ سَجْدَتَيْنِ ثُمَّ قَامَ فَصَنَعَ مِثْلَ ذَلِكَ فَكَانَتْ أَرْبَعَ رَكَعَاتٍ وَأَرْبَعَ سَجَدَاتٍ وَجَعَلَ يَتَقَدَّمُ وَيَتَأَخَّرُ فِي صَلَاتِهِ ثُمَّ أَقْبَلَ عَلَى أَصْحَابِهِ فَقَالَ إِنِّي عُرِضَتْ عَلَيَّ الْجَنَّةُ وَالنَّارُ فَقُرِّبَتْ مِنِّي الْجَنَّةُ حَتَّى لَوْ تَنَاوَلْتُ مِنْهَا قِطْفًا نِلْتُهُ أَوْ قَالَ قَصُرَتْ يَدِي عَنْهُ شَكَّ هِشَامٌ وَعُرِضَتْ عَلَيَّ النَّارُ فَجَعَلْتُ أَتَأَخَّرُ رَهْبَةً أَنْ تَغْشَاكُمْ وَرَأَيْتُ امْرَأَةً حِمْيَرِيَّةً سَوْدَاءَ طَوِيلَةً تُعَذَّبُ فِي هِرَّةٍ لَهَا رَبَطَتْهَا فَلَمْ تُطْعِمْهَا وَلَمْ تَسْقِهَا وَلَمْ تَدَعْهَا تَأْكُلُ مِنْ خَشَاشِ الْأَرْضِ وَرَأَيْتُ فِيهَا أَبَا ثُمَامَةَ عَمْرَو بْنَ مَالِكٍ يَجُرُّ قُصْبَهُ فِي النَّارِ وَإِنَّهُمْ كَانُوا يَقُولُونَ إِنَّ الشَّمْسَ وَالْقَمَرَ لَا يَنْكَسِفَانِ إِلَّا لِمَوْتِ عَظِيمٍ وَإِنَّهُمَا آيَتَانِ مِنْ آيَاتِ اللهِ يُرِيكُمُوهَا فَإِذَا انْكَسَفَا فَصَلُّوا حَتَّى يَنْجَلِيَ