Abdullah bin Abbas reported,

Some men whom I trust gave testimony before me, among them Umar bin Khattab, and the most trustworthy of them in my view was Umar, that the Messenger of Allah ﷺ said, "There is no prayer after Fajr until the sun rises, and no prayer after Asr until the sun sets."

Ibn Majah 1250

Sahih

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

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

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

ابن ماجه 1250صحيح
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 1250
Ibn Majah 1250