Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:909Muḥammad b. al-Muthanná And ʾAbū Bakr b. Khalāad > Yaḥyá al-Qaṭṭān > Ibn al-Muthanná > Yaḥyá > Sufyān > Ḥabīb > Ṭāwus > Ibn ʿAbbās

The Apostle of Allah ﷺ observed prayer while it was (solar) eclipse. He recited (the Qur'an in qiyam) and then bowed. He again recited and again bowed. He again recited and again bowed and again recited and again bowed, and then prostrated; and the second (rak'ah) was like this.  

مسلم:٩٠٩وَحَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى وَأَبُو بَكْرِ بْنُ خَلاَّدٍ كِلاَهُمَا عَنْ يَحْيَى الْقَطَّانِ قَالَ ابْنُ الْمُثَنَّى حَدَّثَنَا يَحْيَى عَنْ سُفْيَانَ قَالَ حَدَّثَنَا حَبِيبٌ عَنْ طَاوُسٍ عَنِ ابْنِ عَبَّاسٍ

عَنِ النَّبِيِّ ﷺ أَنَّهُ صَلَّى فِي كُسُوفٍ قَرَأَ ثُمَّ رَكَعَ ثُمَّ قَرَأَ ثُمَّ رَكَعَ ثُمَّ قَرَأَ ثُمَّ رَكَعَ ثُمَّ قَرَأَ ثُمَّ رَكَعَ ثُمَّ سَجَدَ قَالَ وَالأُخْرَى مِثْلُهَا  


See similar narrations below:

Collected by Aḥmad
ahmad:3236Yaḥyá > Sufyān > Ḥabīb b. Abū Thābit > Ṭāwus > Ibn ʿAbbās

The Prophet ﷺ prayed when there was an eclipse. He recited then he bowed, then he recited then he bowed, then he recited then he bowed, then he recited then he bowed, then he prostrated, and he did the second rak'ahs in same fashion. (Using translation from Nasāʾī 1468)   

أحمد:٣٢٣٦حَدَّثَنَا يَحْيَى عَنْ سُفْيَانَ حَدَّثَنَا حَبِيبُ بْنُ أَبِي ثَابِتٍ عَنْ طَاوُسٍ عَنِ ابْنِ عَبَّاسٍ

عَنِ النَّبِيِّ ﷺ أَنَّهُ صَلَّى بِهِمْ فِي كُسُوفٍ ثَمَانِ رَكَعَاتٍ قَرَأَ ثُمَّ رَكَعَ ثُمَّ رَفَعَ ثُمَّ قَرَأَ ثُمَّ رَكَعَ ثُمَّ رَفَعَ ثُمَّ قَرَأَ ثُمَّ رَكَعَ ثُمَّ رَفَعَ ثُمَّ قَرَأَ ثُمَّ رَكَعَ ثُمَّ رَفَعَ ثُمَّ سَجَدَ قَالَ وَالْأُخْرَى مِثْلُهَا