Ayesha reported,

The sun was eclipsed during the time of the Prophet ﷺ, so the Prophet ﷺ stood for a very long time leading the people in prayer. He would stand, then bow, then stand, then bow, then stand, then bow, performing two rakahs with three bowings in each rakah, bowing the third time and then prostrating.On that day, some men fainted from the length of his standing, so much so that buckets of water had to be poured over them. When he bowed he would say, "Allahu Akbar," and when he rose he would say, "Allah hears whoever praises Him," until the sun became clear again.Then he said, "The sun and the moon do not eclipse for the death or birth of anyone, but they are two signs among the signs of Allah عز وجل by which He frightens His servants. So when they are eclipsed, hasten to prayer."

Abu Dawud 1177

Sahih

حدثنا عثمان بن أبي شيبة حدثنا إسمعيل ابن علية عن ابن جريج عن عطاء عن عبيد بن عمير أخبرني من أصدق وظننت أنه يريد

عائشة قال

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

أبو داود 1177صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Istisqa
Chapter
Eclipse prayer
Numbering
Darussalam 1177
Abu Dawud 1177