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.
nasai-kubra:1864Muḥammad b. al-Muthanná > Yaḥyá > Sufyān > Ḥabīb b. Abū Thābit > Ṭāwus > Ibn ʿAbbās

[Machine] Narrated by the Prophet ﷺ, he prayed during an eclipse and recited, then he prostrated, and performed the same actions in the following cycles.  

الكبرى للنسائي:١٨٦٤أَخْبَرَنَا مُحَمَّدُ بْنُ الْمُثَنَّى عَنْ يَحْيَى عَنْ سُفْيَانَ قَالَ حَدَّثَنَا حَبِيبُ بْنُ أَبِي ثَابِتٍ عَنْ طَاوُسٍ عَنِ ابْنِ عَبَّاسٍ

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


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)   

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

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