Sahih al-Bukhari Book 9, Hadith 60
Allah's Messenger (ﷺ) said, "None of you should try to pray at sunrise or sunset."
Allah's Messenger (ﷺ) forbade two kinds of sales, two kinds of dresses, and two prayers. He forbade offering prayers after the Fajr prayer till the rising of the sun and after the `Asr prayer till its setting. He also forbade "Ishtimal-Assama " and "al-Ihtiba" in one garment in such a way that one's private parts are exposed towards the sky. He also forbade the sales called "Munabadha" and "Mulamasa." (See Hadith No. 354 and 355 Vol. 3).
I heard Allah's Messenger (ﷺ) saying, "There is no prayer after the morning prayer till the sun rises, and there is no prayer after the `Asr prayer till the sun sets."