It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) forbade two prayers: prayer after the Fajr until the sun has risen, and prayer after ‘Asr until the sun has set.
It was narrated from Abu Sa’eed Al-Khudri that the Prophet (ﷺ) said: “There is no prayer after the ‘Asr until the sun has set, and there is no prayer after the Fajr until the sun has risen.”
It was narrated that Ibn ‘Abbas said: “Good men among whom was ‘Umar bin Khattab, and the best of them in my view is ‘Umar, testified before me that the Messenger of Allah (ﷺ) said: ‘There is no prayer after Fajr until the sun has risen, and there is no prayer after the ‘Asr until the sun has set.’”