Once the sun eclipsed and Messenger of Allah ﷺ stood up for the prayer and recited a very long Sura and when bowed for a long while and then raised his head and started reciting another Sura. Then he bowed, and after finishing, he prostrated and did the same in the second rakʿa and then said, "These (lunar and solar eclipses) are two of the signs of Allah and if you see them, pray till the eclipse is over. No doubt, while standing at this place I saw everything promised to me by Allah and I saw (Paradise) and I wanted to pluck a bunch (of grapes) therefrom, at the time when you saw me stepping forward. No doubt, I saw Hell with its different parts destroying each other when you saw me retreating and in it I saw ʿAmr bin Luhai who started the tradition of freeing animals (set them free) in the name of idols." (Using translation from Bukhārī 1212)
ؓ خَسَفَتِ الشَّمْسُ فَقَامَ رَسُولُ اللهِ ﷺ فَقَرَأَ سُورَةً طَوِيلَةً ثُمَّ رَكَعَ فَأَطَالَ ثُمَّ رَفَعَ رَأْسَهُ ثُمَّ اسْتَفْتَحَ سُورَةً أُخْرَى ثُمَّ رَكَعَ حِينَ قَضَاهَا وَسَجَدَ ثُمَّ فَعَلَ ذَلِكَ فِي الثَّانِيَةِ ثُمَّ قَالَ إِنَّهُمَا آيَتَانِ مِنْ آيَاتِ اللهِ فَإِذَا رَأَيْتُمْ ذَلِكَ فَصَلُّوا حَتَّى تُفَرَّجَ عَنْكُمْ لَقَدْ رَأَيْتُ فِي مَقَامِي هَذَا كُلَّ شَيْءٍ وُعِدْتُمْ حَتَّى لَقَدْ رَأَيْتُنِي أُرِيدُ أَنْ آخُذَ قِطْفًا مِنَ الْجَنَّةِ حِينَ رَأَيْتُمُونِي جَعَلْتُ أَتَقَدَّمُ وَلَقَدْ رَأَيْتُ جَهَنَّمَ يَحْطِمُ بَعْضُهَا بَعْضًا حِينَ رَأَيْتُمُونِي تَأَخَّرْتُ وَرَأَيْتُ فِيهَا عَمْرَو بْنَ لُحَيٍّ وَهُوَ الَّذِي سَيَّبَ السَّوَائِبَ