Abdullah bin Amr bin As reported,

When the sun was eclipsed during the time of the Messenger of Allah ﷺ, a call was made, "The prayer is being gathered." The Prophet ﷺ performed two bowings within a single unit followed by prostration, then he stood and performed two more bowings within a single unit followed by prostration, then he sat until the sun was cleared.

Azami 2980

Sahih

عن عبد الله بن عمرو بن العاص قال

لما كسفت الشمس على عهد رسول الله ﷺ نودى: إن الصلاة جامعة فركع النبي ﷺ ركعتين في سجدة، ثم قام، فركع ركعتين في سجدة، ثم جلس حتى جلي عن الشمس.

الأعظمي 2980صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Eclipse prayer
Section
Eclipse prayer, four bowings in two rakahs
Numbering
Jami al-Kamil 2980 (2nd edition)
Azami 2980