"When the sun was eclipsed during the time of the Messenger of Allah ﷺ, he performed wudu' and ordered that the call be given: 'As-salatu jami'ah.' He stood for a long time in prayer," and 'Aishah said: "I thought that he recited Surah Al-Baqarah. Then he bowed for a long time, then he said: Sami' Allahu liman hamidah. Then he bowed, then prostrated. Then he stood up and did the same again, bowing twice and prostrating once. Then he sat and the eclipse ended." (Using translation from Nasāʾī 1481)
أَنَّهُ لَمَّا كَسَفَتِ الشَّمْسُ عَلَى عَهْدِ رَسُولِ اللهِ ﷺ تَوَضَّأَ وَأَمَرَ فَنُودِيَ أَنَّ الصَّلَاةَ جَامِعَةٌ فَقَامَ فَأَطَالَ الْقِيَامَ فِي صَلَاتِهِ قَالَ فَأَحْسِبُهُ قَرَأَ سُورَةَ الْبَقَرَةِ ثُمَّ رَكَعَفَأَطَالَ الرُّكُوعَ ثُمَّ قَالَ سَمِعَ اللهُ لِمَنْ حَمِدَهُ ثُمَّ قَامَ مِثْلَ مَا قَامَ وَلَمْ يَسْجُدْ ثُمَّ رَكَعَ فَسَجَدَ ثُمَّ قَامَ فَصَنَعَ مِثْلَ مَا صَنَعَ ثُمَّ رَكَعَ رَكْعَتَيْنِ فِي سَجْدَةٍ ثُمَّ جَلَسَ وَجُلِّيَ عَنِ الشَّمْسِ