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.
suyuti:4-2353bal-Ḥasan > Nubbiʾt > al-Shams Kusifat Bi-al-Kūfah Faṣallá Bihim ʿAli b. Abiá Ṭālb Khams Rakaʿāt Thum Sajad Sajdatayn ʿInd al-Khāmisah Thum Qām Farakaʿ Khms Rakaʿāt Thum Sajdatayn > d al-Khāmisah
Request/Fix translation

  

السيوطي:٤-٢٣٥٣b

"عَنِ الْحَسَنِ قَالَ: نُبِّئْتُ أَنَّ الشَّمْسَ كُسِفَتْ بِالكُوفَةِ فَصَلَّى بِهِم عَلِىُّ بن أَبِى طَالبٍ خَمْس رَكَعَاتٍ ثُمَّ سَجَدَ سَجْدَتَيْنِ عِنْدَ الْخَامِسَةِ، ثُمَّ قَامَ فَرَكَعَ خمْسَ رَكَعَات ثُمَّ سَجْدَتَيْنِ عنْدَ الْخَامِسَةِ، قَالَ: عَشْرُ رَكَعَاتٍ وَأَرْبَعُ سَجَدَاتٍ".  

ابن جرير