From Sahih Bukhari (Hadith 581):
Narrated `Umar:"The Prophet (ﷺ) forbade praying after the Fajr prayer till the sun rises and after the `Asr prayer till the sun sets." Narrated Ibn `Abbas: Some people told me the same narration (as above)
Reference: Bukhari 581