Abdullah bin Abbas reported,

Some men whose testimony I trust gave witness before me, and the most trustworthy of them to me was Umar, that the Messenger of Allah ﷺ forbade praying after the dawn prayer until the sun rises, and after the afternoon prayer until it sets.

Azami 2489

Sahih

عن ابن عباس قال

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

الأعظمي 2489صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Forbidden times for prayer
Section
Prohibition of prayer after Fajr and after Asr
Numbering
Jami al-Kamil 2489 (2nd edition)
Azami 2489