The Prophet ﷺ prayed when there was an eclipse. He recited then he bowed, then he recited then he bowed, then he recited then he bowed, then he recited then he bowed, then he prostrated, and he did the second rak'ahs in same fashion. (Using translation from Nasāʾī 1468)
عَنِ النَّبِيِّ ﷺ أَنَّهُ صَلَّى بِهِمْ فِي كُسُوفٍ ثَمَانِ رَكَعَاتٍ قَرَأَ ثُمَّ رَكَعَ ثُمَّ رَفَعَ ثُمَّ قَرَأَ ثُمَّ رَكَعَ ثُمَّ رَفَعَ ثُمَّ قَرَأَ ثُمَّ رَكَعَ ثُمَّ رَفَعَ ثُمَّ قَرَأَ ثُمَّ رَكَعَ ثُمَّ رَفَعَ ثُمَّ سَجَدَ قَالَ وَالْأُخْرَى مِثْلُهَا