From Sahih Bukhari (Hadith 1062): Narrated Abu Bakra:In the lifetime of the Prophet (ﷺ) the sun eclipsed and then he offered a two rak`at prayer