The sun was eclipsed during the time of the Messenger of Allah ﷺ. The Messenger of Allah ﷺ stood and led the people in prayer. He prolonged the recitation, then bowed and prolonged the bowing. Then he raised his head and prolonged the recitation again, though shorter than the first recitation. Then he bowed and prolonged the bowing, though shorter than the first bowing. Then he raised his head and performed two prostrations. Then he stood and did the same in the second cycle. After that, he turned to the people and said, "The sun and the moon do not eclipse for the death or life of anyone, but they are two of the signs of Allah . When you see that, hasten to prayer."
حدثنا عبد الرزاق قال حدثنا معمر عن الزهري عن عروة
خسفت الشمس على عهد رسول الله ﷺ فقام رسول الله ﷺ فصلى بالناس فأطال القراءة ثم ركع فأطال الركوع ثم رفع رأسه فأطال القراءة وهي دون قراءته الأولى ثم ركع فأطال الركوع وهو دون ركوعه الأول ثم رفع رأسه فسجد سجدتين ثم قام فصنع في الركعة الثانية مثل ذلك ثم انصرف فقال إن الشمس والقمر لا يخسفان لموت أحد ولا لحياته ولكنهما آيتان من آيات الله عز وجل فإذا رأيتم ذلك فافزعوا للصلاة