Abu Hurairah reported,

The sun was eclipsed during the time of the Messenger of Allah ﷺ, so he stood and led the people in prayer. He stood for a long time, then bowed for a long time, then rose and stood for a long time, though shorter than the first standing. Then he bowed for a long time, though shorter than the first bowing. Then he prostrated for a long time, then raised his head, then prostrated again for a long time, though shorter than the first prostration. Then he stood and prayed two units, doing the same in them, then he made two prostrations, doing the same in them, until he completed his prayer.Then he said, "The sun and the moon are two of the signs of Allah. They are not eclipsed for the death of anyone or for his life. So when you see that, hasten to the remembrance of Allah عز وجل and to prayer."

Nasai 1484

Hasan

أخبرنا محمد بن عبيد الله بن عبد العظيم قال حدثني إبراهيم سبلان قال حدثنا عباد بن عباد المهلبي عن محمد بن عمرو عن أبي سلمة

عن أبي هريرة قال

كسفت الشمس على عهد رسول الله ﷺ فقام فصلى للناس فأطال القيام ثم ركع فأطال الركوع ثم قام فأطال القيام وهو دون القيام الأول ثم ركع فأطال الركوع وهو دون الركوع الأول ثم سجد فأطال السجود ثم رفع ثم سجد فأطال السجود وهو دون السجود الأول ثم قام فصلى ركعتين وفعل فيهما مثل ذلك ثم سجد سجدتين يفعل فيهما مثل ذلك حتى فرغ من صلاته ثم قال إن الشمس والقمر آيتان من آيات الله وإنهما لا ينكسفان لموت أحد ولا لحياته فإذا رأيتم ذلك فافزعوا إلى ذكر الله عز وجل وإلى الصلاة

النسائي 1484حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Eclipse
Chapter
Another type
Numbering
Darussalam 1484
Nasai 1484