'A'isha reported that 'Umar misconstrued the fact that the Messenger of Allah (ﷺ) had prohibited the observance of prayer at the time of the rising sun and at the time of its setting.
'A'isha said that the Messenger of Allah (ﷺ) did not abandon observing two rak'ahs after 'Asr, but she reported Allah's Messenger (ﷺ) as saying
Do not get used to observe prayer at the time of the rising sun and at the time of its setting and (exhorted the Muslims) to pray at their times.