Mishkat
al-Masabih
مشكاة المصابيح
Prayer
كتاب الصلاة
Chapter 51c: Prayer at an Eclipse - Section 3
باب صلاة الخسوف - الفصل الثالث
Mishkat al-Masabih 1492
Ubayy b. Ka'b said that when an eclipse of the sun took place in the time of Allah's Messenger ﷺ he led them in prayer, reciting one of the long suras, bowing five times and prostrating himself twice. He then stood up for the second rak'a, recited one of the long suras, bowed five times, prostrated himself twice, then sat where he was facing the qibla and made supplication till the eclipse passed. Abu Dawud transmitted it.
عَنْ أُبَيِّ بْنِ كَعْبٍ قَالَ: انْكَسَفَتِ الشَّمْسُ عَلَى عَهْدِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فصلى بهم فَقَرَأَ بِسُورَة م الطُّوَلِ وَرَكَعَ خَمْسَ رَكَعَاتٍ وَسَجَدَ سَجْدَتَيْنِ ثُمَّ قَامَ الثَّانِيَةَ فَقَرَأَ بِسُورَةٍ مِنَ الطُّوَلِ ثُمَّ رَكَعَ خَمْسَ رَكَعَاتٍ وَسَجَدَ سَجْدَتَيْنِ ثُمَّ جَلَسَ كَمَا هُوَ مُسْتَقْبِلَ الْقِبْلَةِ يَدْعُو حَتَّى انْجَلَى كسوفها. رَوَاهُ أَبُو دَاوُد
In-book reference: Mishkat al-Masabih Book 4 Chapter 51c Hadith 1