Ibn 'Umar reported Allah's Messenger (ﷺ) as saying:Do not intend to observe prayer at the time of the rising of the sun nor at its setting, for it rises between the horns of Satan
Hadith No. 1925
Sahih Muslim