The Book of Prayer
Bulugh al-Maram #611
كتاب الصلاة
وَفِي رِوَايَةٍ لِمُسْلِمٍ: «صَلَّى حِينَ كَسَفَتِ اَلشَّمْسُ ثَمَانَ رَكَعَاتٍ فِي أَرْبَعِ سَجَدَاتٍ»
In a narration of Muslim:
“When there was an eclipse of the sun, Allah's Messenger (ﷺ) performed eight bowings with four prostrations (in a two Rak'ah prayer for Eclipse)”.
وَفِي رِوَايَةٍ لِمُسْلِمٍ: "صَلَّى حِينَ كَسَفَتِ اَلشَّمْسُ ثَمَانَ رَكَعَاتٍ فِي أَرْبَعِ سَجَدَاتٍ"
"When there was an eclipse of the sun, Allah's Messenger (ﷺ) performed eight bowings with four prostrations (in a two Rak'ah prayer for Eclipse)".
— Bulugh al-Maram, Hadith 611