Abdullah bin Abbas reported,

Shuba reported, and I believe Ati said this came from one of the companions of the Prophet ﷺ, the most pleasing of them to me being Umar bin Khattab رضي الله عنه, that the Messenger of Allah ﷺ forbade praying at two times, after the afternoon prayer until the sun sets, and after the dawn prayer until the sun rises.

Ahmad 355

Sahih

حدثنا محمد بن جعفر حدثنا شعبة عن قتادة قال سمعت رفيعا أبا العالية يحدث

عن ابن عباس حدثني رجال قال

شعبة أحسبه قال من أصحاب النبي ﷺ قال وأعجبهم إلي عمر بن الخطاب رضي الله عنه أن رسول الله ﷺ نهى عن الصلاة في ساعتين بعد العصر حتى تغرب الشمس وبعد الصبح حتى تطلع

أحمد 355صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Umar bin Khattab
Numbering
Darussalam 355
Ahmad 355