The Prophet ﷺ prayed two rakahs during the solar eclipse.
حدثنا يحيى عن شعبة عن عطاء بن السائب عن أبيه
أن النبي ﷺ صلى في كسوف الشمس ركعتين
No references are available.
Its isnad is sahih, and it is an abridgment of 6483. We have referred to it there.