The Messenger of Allah ﷺ prayed on the day the sun was eclipsed, bowing four times in two rak'ahs and prostrating four times. (Using translation from Nasāʾī 1469)
أَنَّ رَسُولَ اللهِ ﷺ «صَلَّى يَوْمَ كَسَفَتِ الشَّمْسُ أَرْبَعَ رَكَعَاتٍ فِي رَكْعَتَيْنِ وَأَرْبَعَ سَجَدَاتٍ»