(10) باب مَنْ قَالَ يَرْكَعُ رَكْعَتَيْنِ
Narrated 'Abd al-Rahman b. Samurah :
During the lifetime of the Messenger of Allah (peace be upon him) I was shooting some arrows when an eclipse of the sun tok place. I, therefore , threw them (the arrows) away and said: I must see how the Messenger of Allah (ﷺ) acts in a solar eclipse today. So I came to him; he was standing (in prayer) raising his hands, glorifying Allah, praising Him, acknowledging that He is the only Deity, and making supplication till the sun was clear. He then recited two surahs and prayed two rak'ahs.
Reference: Sunan Abi Dawud 1195
In-book reference: Book 3, Hadith 35
English translation: Book 3, Hadith 1191