عَنِ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ صَلَّى عِنْدَ كُسُوفِ الشَّمْسِ ثَمَانِيَ رَكَعَاتٍ وَأَرْبَعَ سَجَدَاتٍ
It is narrated from Sayyiduna Abdullah bin Abbas, may Allah be pleased with him, that the Messenger of Allah, peace and blessings be upon him, performed eight bowings (ruku) and four prostrations (sajdah) during the solar eclipse.