I heard the Messenger of Allah ﷺ say, "There is no prayer after the dawn prayer until the sun rises." Ibn Bakr's version says, "until the sun has risen high." "And there is no prayer after the afternoon prayer until the sun sets."
حدثنا عبد الرزاق وابن بكر قالا أخبرنا ابن جريج قال وحدثني ابن شهاب عن عطاء بن يزيد الجندعي
سمعت رسول الله ﷺ يقول لا صلاة بعد صلاة الصبح حتى تطلع الشمس وقال ابن بكر حتى ترتفع الشمس ولا صلاة بعد صلاة العصر حتى تغيب الشمس
Its isnad is sahih. Ata bin Yazid al-Jundai is al-Laythi, and Ibn Bakr is Muhammad bin Bakr al-Bursani. The hadith has been mentioned previously with many wordings, see 11511 and its cross-references, and see 10964 and its cross-references.