An eclipse of the sun took place in the time of the Messenger of Allah (ﷺ). The Prophet (ﷺ) led them in prayer. He recited one of the long surahs, bowing five times and prostrating himself twice. He then stood up for the second rak'ah, recited one of the long surahs, bowed five times, prostrated himself twice, then sat where he was facing the qiblah and made the supplication till the eclipse was over.
Reference: Sunan Abi Dawud 1182 In-book : Book 3, Hadith 22 English translation : Book 3, Hadith 1178
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.