"I heard more than one of the Companions of the Prophet ﷺ - including 'Umar who was one of the dearest of them to me - that the Messenger of Allah ﷺ forbade praying after Fajr until the sun had risen, and praying after 'Asr until the sun had set." (Using translation from Nasāʾī 562)
سَمِعْتُ غَيْرَ وَاحِدٍ مِنْ أَصْحَابِ النَّبِيِّ ﷺ مِنْهُمْ عُمَرُ وَكَانَ مِنْ أَحَبِّهُمْ إِلَيَّ أَنَّ رَسُولَ اللهِ ﷺ «نَهَى عَنِ الصَّلَاةِ بَعْدَ الْفَجْرِ حَتَّى تَطْلُعَ الشَّمْسُ وَعَنِ الصَّلَاةِ بَعْدَ الْعَصْرِ حَتَّى تَغْرُبَ الشَّمْسُ» قَالَ أَبُو عَبْدِ الرَّحْمَنِ خَالَفَهُ طَاوُسٌ فَرَوَاهُ عَنِ ابْنِ عَبَّاسٍ وَلَمْ يَذْكُرْ عُمَرَ