Hadith 1492
Ubayy b. Ka'b said that when an eclipse of the sun took place in the time of God’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.
عَنْ أُبَيِّ بْنِ كَعْبٍ قَالَ: انْكَسَفَتِ الشَّمْسُ عَلَى عَهْدِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فصلى بهم فَقَرَأَ بِسُورَة م الطُّوَلِ وَرَكَعَ خَمْسَ رَكَعَاتٍ وَسَجَدَ سَجْدَتَيْنِ ثُمَّ قَامَ الثَّانِيَةَ فَقَرَأَ بِسُورَةٍ مِنَ الطُّوَلِ ثُمَّ رَكَعَ خَمْسَ رَكَعَاتٍ وَسَجَدَ سَجْدَتَيْنِ ثُمَّ جَلَسَ كَمَا هُوَ مُسْتَقْبِلَ الْقِبْلَةِ يَدْعُو حَتَّى انْجَلَى كسوفها. رَوَاهُ أَبُو دَاوُد