It was narrated from Abu Hurairah that the Prophet (ﷺ) forbade praying after 'Asr until the sun had set, and after Subh until the sun had risen. (JA)
English reference (JA): Vol. 1, Book 6, Hadith 562 (JA)
Arabic reference (JA): Book 6, Hadith 566 (JA)