Allah's Messenger (ﷺ) forbade the offering of two prayers: -1. after the morning prayer…

Sahih al-Bukhari Book 9 Hadith 64

Sahih al-Bukhari #588

Times of the Prayers 9:64

Narrated Abu Huraira:

Allah's Messenger (ﷺ) forbade the offering of two prayers: -1. after the morning prayer till the sunrises. -2. after the `Asr prayer till the sun sets.

Chapter: One should not try to offer As-Salat (the prayers) just before sunset

Grade: Sahih