Some men whose testimony I find satisfactory bore witness before me, among them Umar, and the most satisfactory of them to me is Umar, that the Prophet of Allah ﷺ used to say, "There is no prayer after the Asr prayer until the sun sets, and no prayer after the Fajr prayer until the sun rises."
حدثنا بهز حدثنا أبان عن قتادة عن أبى العالية
شهد عندي رجال مرضيون منهم عمر وأرضاهم عندي عمر أن نبي الله ﷺ كان يقول لا صلاة بعد صلاة العصر حتى تغرب الشمس ولا صلاة بعد صلاة الصبح حتى تطلع الشمس
Its isnad is sahih. Bahz is Ibn Asad Ammi. Aban is Ibn Yazid Attar. Abu Aliyah is Rafi bin Mihran Riyahi. The hadith was also transmitted by the compilers of the six books. See also 101, 106, Awn al-Mabud 1:492–493, and Sunan al-Kubra by Bayhaqi 2:451–452.