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.