The Messenger of Allah ﷺ prayed when the sun was eclipsed, bowing eight times and prostrating four times. (Using translation from Nasāʾī 1467)
أَنَّ رَسُولَ اللهِ ﷺ «صَلَّى عِنْدَ كُسُوفٍ ثَمَانِيَ رَكَعَاتٍ وَأَرْبَعَ سَجَدَاتٍ» وَعَنْ عَطَاءٍ مِثْلَ ذَلِكَ