The Messenger of Allah ﷺ prayed two rak'ahs like this prayer of yours, and he mentioned the eclipse of the sun. (Using translation from Nasāʾī 1492)
أَنَّ النَّبِيَّ ﷺ صَلَّى رَكْعَتَيْنِ مِثْلَ صَلَاتِكُمْ هَذِهِ فِي كُسُوفِ الشَّمْسِ وَالْقَمَرِ
The Messenger of Allah ﷺ prayed two rak'ahs like this prayer of yours, and he mentioned the eclipse of the sun. (Using translation from Nasāʾī 1492)
أَنَّ النَّبِيَّ ﷺ صَلَّى رَكْعَتَيْنِ مِثْلَ صَلَاتِكُمْ هَذِهِ فِي كُسُوفِ الشَّمْسِ وَالْقَمَرِ
The Messenger of Allah ﷺ prayed two rak'ahs like this prayer of yours, and he mentioned the eclipse of the sun.
أَنَّ رَسُولَ اللَّهِ ﷺ صَلَّى رَكْعَتَيْنِ مِثْلَ صَلاَتِكُمْ هَذِهِ وَذَكَرَ كُسُوفَ الشَّمْسِ
[Machine] "That the Prophet ﷺ performed two units of prayer, similar to your prayer now, at the time of the solar and lunar eclipses. He did not delay it and may Allah send blessings upon Muhammad and his family and all of his companions."
«أَنَّ النَّبِيَّ ﷺ صَلَّى رَكْعَتَيْنِ بِمِثْلِ صَلَاتِكُمْ هَذَا فِي كُسُوفِ الشَّمْسِ وَالْقَمَرِ» وَلَمْ يُخَرِّجَاهُ وَصَلَّى اللَّهُ عَلَى مُحَمَّدٍ وَآلِهِ أَجْمَعِينَ
[Machine] From the Prophet ﷺ, it was narrated that he "performed two units (rak'atayn) of prayer during the solar and lunar eclipses, just like your prayers."
عَنِ النَّبِيِّ ﷺ أَنَّهُ «صَلَّى فِي كُسُوفِ الشَّمْسِ وَالْقَمَرِ رَكْعَتَيْنِ مِثْلَ صَلَاتِكُمْ»
The Messenger of Allah ﷺ prayed two rak'ahs like this prayer of yours, and he mentioned the eclipse of the sun. (Using translation from Nasāʾī 1492)
أَنَّ رَسُولَ اللهِ ﷺ «صَلَّى رَكْعَتَيْنِ مِثْلَ صَلَاتِكُمْ هَذِهِ وَذَكَرَ كُسُوفَ الشَّمْسِ»