Sahih Muslim 1495: The Eclipse Prayer
Ata said: I heard Ubaid bin Umair say: One whom I regard as truthful related to me ((Ata said:) and I think he meant Hazrat Aishah (ra)) that in the time of the Messenger of Allah (saw) the sun was eclipsed. He (saw) stood for an extremely long time. He kept standing. Then he bowed (Ruku). Then he stood up. Then he bowed, then stood up, then bowed. In two rak'at he performed three bowings and four prostrations (Sajdah). So he (saw) performed (in effect) two rak'at, three bowings (each) and four prostrations. When he (saw) had finished, the sun had become bright. And when he (saw) bowed, he would say “Allahu Akbar”; then he would bow, and when he raised his head he would say: “Allah has heard the one who praised Him.” He (saw) stood up, praised and extolled Allah, then said: “The sun and the moon are not eclipsed for anyone's death or life. Rather, they are both among the Signs of Allah by which Allah strikes fear into His servants. When you see an eclipse, keep remembering Allah until they both become bright.”
AI-translated by Islam-Today