Aishah said: "The sun was eclipsed during the lifetime of the Messenger of Allah ﷺ and it was called out: 'As-salatu jam'iah (prayer is about to begin in congregation).' So the people gathered and the Messenger of Allah ﷺ led them in prayer, bowing four times in two rak'ahs and prostrating four times." (Using translation from Nasāʾī 1473)
«خُسِفَتِ الشَّمْسُ عَلَى عَهْدِ رَسُولِ اللهِ ﷺ فَنُودِيَ الصَّلَاةُ جَامِعَةٌ فَاجْتَمَعَ النَّاسُ فَصَلَّى بِهِمْ رَسُولُ اللهِ ﷺ أَرْبَعَ رَكَعَاتٍ فِي رَكْعَتَيْنِ وَأَرْبَعَ سَجَدَاتٍ»