"The Messenger of Allah ﷺ forbade praying after Subh until the sun had risen, and praying after 'Asr until the sun had set." (Using translation from Nasāʾī 566)
سَمِعَ أَبَا سَعِيدٍ الْخُدْرِيَّ يَقُولُ «نَهَى رَسُولُ اللهِ ﷺ عَنْ الصَّلَاةِ بَعْدَ الصُّبْحِ حَتَّى الطُّلُوعِ وَعَنْ الصَّلَاةِ بَعْدَ الْعَصْرِ حَتَّى الْغُرُوبِ»