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.’”
Hadith No. 1250
Sunan Ibn Majah
Gradings:
Al-Albani:
Sahih
Muhammad Fouad Abd al-Baqi:
Sahih
Shuaib Al Arnaut:
Sahih
Zubair Ali Zai:
Sahih - Bukhari And Muslim