Abu Huraira is reported to have said that the Messenger of Allah (ﷺ) prohibited to observe prayer after the 'Asr prayer till the sun is set, and after the dawn till the sun rises.
Sahih Muslim Book 6, Hadith 348