The Messenger of Allah (ﷺ) prayed two rak'ahs like this prayer of yours, and he mentioned the eclipse of the sun. Sunan an-Nasa'i Book 16, Hadith 34