Narrated Abd Allah b. 'Abbas: The Messenger of Allah ﷺ prayed at the solar eclipse as reported in the tradition narrated by 'Urwah from Aishah from the Messenger of Allah ﷺ that he offered two rak'ahs of prayer bowing twice in each rak'ah.
The hadith also teaches us that we should be mindful of our actions at all times and strive to do good deeds even when no one is watching or when something special is happening around us. We can learn from this hadith that it's important to stay focused on our faith and not get distracted by worldly matters or events taking place around us.