Ayesha reported,

The sun was eclipsed, so the Messenger of Allah ﷺ ordered a man to call out, "The prayer is to be held in congregation." The people gathered, and the Messenger of Allah ﷺ led them in prayer.He said the takbir, then recited a long recitation. Then he said the takbir and made a long bowing, similar in length to his standing or longer. Then he raised his head and said, "Allah hears whoever praises Him." Then he recited a long recitation that was shorter than the first recitation. Then he said the takbir and made a long bowing that was shorter than the first bowing. Then he raised his head and said, "Allah hears whoever praises Him." Then he said the takbir and prostrated a long prostration, similar in length to his bowing or longer. Then he said the takbir and raised his head, then said the takbir and prostrated again.Then he said the takbir and stood up, and recited a long recitation that was shorter than the first. Then he said the takbir and made a long bowing that was shorter than the first bowing. Then he raised his head and said, "Allah hears whoever praises Him." Then he recited a long recitation that was shorter than the first recitation in the second standing. Then he said the takbir and made a long bowing, less than the first bowing. Then he said the takbir and raised his head and said, "Allah hears whoever praises Him." Then he said the takbir and prostrated, shorter than his first prostration. Then he recited the tashahhud and gave the salam.Then he stood among them, praised Allah and extolled Him, and said, "The sun and the moon are not eclipsed because of anyone's death or life, but they are two of the signs of Allah. So whenever an eclipse occurs, or one of them is eclipsed, hasten to Allah عز وجل by remembering Him in prayer."

Nasai 1498

Sahih

أخبرني عمرو بن عثمان بن سعيد بن كثير عن الوليد عن عبد الرحمن بن نمر أنه سأل الزهري عن سنة صلاة الكسوف فقال أخبرني عروة بن الزبير

عن عائشة قالت

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

النسائي 1498صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Eclipse
Chapter
Tashahhud and taslim in the eclipse prayer
Numbering
Darussalam 1498
Nasai 1498