Yahya related to me from Malik from Muhammad ibn Yahya ibn Habban from al Araj from Abu Hurayra that the Messenger of Allah ﷺ forbade prayer after asr until the sun had set, and prayer after subh until the sun had risen.
أَنَّ رَسُولَ اللَّهِ ﷺ نَهَى عَنِ الصَّلاَةِ بَعْدَ الْعَصْرِ حَتَّى تَغْرُبَ الشَّمْسُ وَعَنِ الصَّلاَةِ بَعْدَ الصُّبْحِ حَتَّى تَطْلُعَ الشَّمْسُ