Abu Hurairah reported,

The Messenger of Allah ﷺ forbade two prayers, the prayer after dawn until the sun rises, and the prayer after the afternoon prayer until the sun sets.

Ibn Majah 1248

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا عبد الله بن نمير وأبو أسامة عن عبيد الله بن عمر عن خبيب بن عبد الرحمن عن حفص بن عاصم

عن أبي هريرة

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

ابن ماجه 1248صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Prohibition of prayer after Fajr and after Asr
Numbering
Darussalam 1248
Ibn Majah 1248