Allah's Messenger (ﷺ) used to offer the `Asr prayer when the sunshine had not disappeared from my chamber.
Sahih al-Bukhari Book 9, Hadith 21