It was narrated that Ibn 'Abbas said:
"I heard more than one of the Companions of the Prophet (ﷺ) - including 'Umar who was one of the dearest of them to me - that the Messenger of Allah (ﷺ) forbade praying after Fajr until the sun had risen, and praying after 'Asr until the sun had set."
English reference: Vol. 1, Book 6, Hadith 563
Arabic reference: Book 6, Hadith 567
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.