Sahih al-Bukhari Book 9, Hadith 21
Allah's Messenger (ﷺ) used to offer the `Asr prayer when the sunshine had not disappeared from my
chamber.
"The Prophet (ﷺ) prayed eight rak`at for the Zuhr and `Asr, and seven for the Maghrib and `Isha prayers in Medina." Aiyub said, "Perhaps those were rainy nights." Anas said, "May be."
Allah's Messenger (ﷺ) used to offer the `Asr prayers at a time when the sunshine was still inside my chamber and no shadow had yet appeared in it.