The sun was eclipsed during the time of the Messenger of Allah ﷺ, so he sent a caller to announce, "The prayer is gathering." The people assembled, and he stepped forward, said the takbir, and prayed four bowings within two units of prayer, with four prostrations.
و حدثنا محمد بن مهران الرازي حدثنا الوليد بن مسلم قال قال الأوزاعي أبو عمرو وغيره سمعت ابن شهاب الزهري يخبر عن عروة
أن الشمس خسفت على عهد رسول الله ﷺ فبعث مناديا الصلاة جامعة فاجتمعوا وتقدم فكبر وصلى أربع ركعات في ركعتين وأربع سجدات