The Prophet ﷺ said, "There is no prayer after Asr until the sun sets, and there is no prayer after Fajr until the sun rises."
حدثنا أبو بكر بن أبي شيبة حدثنا يحيى بن يعلى التيمي عن عبد الملك بن عمير عن قزعة
عن النبي ﷺ قال لا صلاة بعد العصر حتى تغرب الشمس ولا صلاة بعد الفجر حتى تطلع الشمس
Bukhari narrated it in the Book of Fasting, chapter on fasting on the Day of Sacrifice, hadith no. 1995, and others narrated it from the hadith of Abdul-Malik at length.