Some men of good character, among whom was ‘Umar, who is the best of them in my view, testified in my presence that the Messenger of Allah ﷺ forbade praying after Fajr prayer until the sun rose, and after Asr prayer until it (the sun) set.
أَنَّهُ قَالَ شَهِدَ عِنْدِي رِجَالٌ مَرْضِيُّونَ فِيهِمْ عُمَرُ وَأَرْضَاهُمْ عِنْدِي عُمَرُ أَنَّ رَسُولَ اللهِ ﷺ نَهَى عَنْ صَلاةٍ بَعْدَ صَلاةِ الصُّبْحِ حَتَّى تَطْلُعَ الشَّمْسُ وَبَعْدَ الْعَصْرِ حَتَّى تَغْرُبَ