Narrated by Aisha (may Allah be pleased with her): She said that when the sun was eclipsed, the Prophet (ﷺ) offered two rak'ahs of prayer and performed two bowings (ruku) in each rak'ah.
Hadith Referenceمسند الإمام الشافعي / كتاب الكسوف / 541
Hadith Takhrijاخرجه البخارى الكسوف، باب التعوذ من عذاب القبر في الكسوف ، رقم : 1049، 1050 ۔ ومسلم، الكسوف، باب ذكر عذاب القبر في الكسوف، رقم: (903)۔