The sun was eclipsed during the time of the Messenger of Allah ﷺ, so the Messenger of Allah ﷺ led the prayer. He stood for a long time, about the length of reciting Surah al-Baqarah, as part of a longer narration.
انخسفت الشمس على عهد رسول الله ﷺ، فصلي رسول الله ﷺ فقام طويلا نحوا من قراءة سورة البقرة في حديث طويل.
Malik narrated it in the chapter on the eclipse (2), from Zayd bin Aslam, from Ata bin Yasar, from Abdullah bin Ibn Abbas, and he mentioned it in a long hadith. Bukhari (1052) and Muslim (907) both narrated it through Malik. See the hadith in full in the chapter, "Four bowings in two rakahs."Shafii said, "In this is evidence that he did not hear what he recited, because if he had heard it he would not have estimated it by something else." Bayhaqi mentioned this in Kubra (3/335).I say, an explicit statement has come from Ibn Abbas that he did not hear his voice, which is what Imam Ahmad (2673) and Abu Yaala (2745) narrated, from Hasan, meaning Ibn Musa, who said, Ibn Lahia narrated to us, Yazid bin Abu Habib narrated to us, from Ikrima, from Ibn Abbas, who said, "I prayed the eclipse prayer with the Messenger of Allah ﷺ, and I did not hear from him in it a single letter of the Quran."Ibn Lahia has well known criticism regarding him. But Abdullah bin Mubarak narrated it from him with this chain, and Imam Ahmad (2674) narrated it from Ali bin Ishaq, from him, with the wording, "I prayed behind the Prophet ﷺ the eclipse prayer, and I did not hear from him in it a single letter." This chain is hasan, because Abdullah bin Mubarak heard from Ibn Lahia before his mixing up (of narrations).