Abdul Rahman bin ahadeeth, who was one of the Companions of the Messenger of Allah ﷺ said: During the lifetime of Allahs Messenger ﷺ I was shooting some of my arrows in Madinah, when the sun eclipsed. I threw (the arrows) and said: By Allah, I must see how the Messenger of Allah ﷺ acts in solar eclipse. So I came to him and he was standing in prayer, raising his hands, glorifying Him, praising Him, acknowledging His Oneness, declaring His greatness, and supplicating Him, till the sun cleared. When the eclipse was over, he recited two surahs and prayed two rakahs.