Ali bin Abu Talib reported,

The sun was eclipsed, so Ali رضي الله عنه led the people in prayer. He recited Surah Yasin or something of similar length, then bowed for roughly the length of that surah. Then he raised his head and said, "Allah hears the one who praises Him." Then he stood for the length of the surah, supplicating and pronouncing takbir. Then he bowed again for the length of his recitation, and said, "Allah hears the one who praises Him." Then he stood once more for the length of the surah, and bowed again for the same length, until he had made four bowings. Then he said, "Allah hears the one who praises Him," and prostrated.Then he rose for the second rakat and did exactly as he had done in the first. Afterward he sat supplicating and pleading until the sun emerged from the eclipse. Then he told them that the Messenger of Allah ﷺ had done the same.

Ahmad 1216

Daif

حدثنا يحيى بن آدم حدثنا زهير حدثنا الحسن بن الحر حدثنا الحكم بن عتيبة عن رجل يدعى حنشا

عن علي رضي الله عنه قال

كسفت الشمس فصلى علي رضي الله عنه للناس فقرأ يس أو نحوها ثم ركع نحوا من قدر السورة ثم رفع رأسه فقال سمع الله لمن حمده ثم قام قدر السورة يدعو ويكبر ثم ركع قدر قراءته أيضا ثم قال سمع الله لمن حمده ثم قام أيضا قدر السورة ثم ركع قدر ذلك أيضا حتى صلى أربع ركعات ثم قال سمع الله لمن حمده ثم سجد ثم قام في الركعة الثانية ففعل كفعله في الركعة الأولى ثم جلس يدعو ويرغب حتى انكشفت الشمس ثم حدثهم أن رسول الله ﷺ كذلك فعل

أحمد 1216ضعيف
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Ali bin Abu Talib
Numbering
Darussalam 1216
Ahmad 1216