´It was narrated that Abu Bakrah said:` "We were sitting with the Prophet (ﷺ) when the sun became eclipsed. He leapt up, dragging his garment and prayed two rak'ahs until the eclipse was over."
Hadith ReferenceSunan an-Nasa'i / The Book of Eclipses / Hadith: 1465