Messenger of Allah ﷺ 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. (Using translation from Bukhārī 545)
أَنَّ رَسُولَ اللهِ ﷺ «صَلَّى صَلَاةَ الْعَصْرِ وَالشَّمْسُ فِي حُجْرَتِهَا لَمْ يَظْهَرِ الْفَيْءُ»