I heard Rufaiʿ Abul-ʿAliyah narrate from Ibn ‘Abbas: A man told me - Shu’bah said: I think he said: one of the Companions of the Prophet ﷺ - The most admired of therm to me is Umar bin al Khattab ؓ : The Messenger of Allah ﷺ forbade praying at two times: after ʿAsr until the sun sets and after Fajr until the sun rises.
مِنْ أَصْحَابِ النَّبِيِّ ﷺ قَالَ وَأَعْجَبُهُمْ إِلَيَّ عُمَرُ بْنُ الْخَطَّابِ أَنَّ رَسُولَ اللهِ ﷺ نَهَى عَنِ الصَّلاةِ فِي سَاعَتَيْنِ بَعْدَ الْعَصْرِ حَتَّى تَغْرُبَ الشَّمْسُ وَبَعْدَ الصُّبْحِ حَتَّى تَطْلُعَ