Bara bin Azib reported,

The verse was revealed as "Maintain the prayers and the Asr prayer," and we recited it during the time of the Messenger of Allah ﷺ for as long as Allah willed that we recite it. Then Allah abrogated it and revealed "Maintain the prayers and the middle prayer" [Baqarah 2:238].A man who was with Shaqiq, called Azhar, said to him, "So it is the Asr prayer."He replied, "I have already told you how it was revealed and how Allah Most High abrogated it, and Allah knows best."

Ahmad 18673

Sahih

حدثنا يحيى بن آدم حدثنا فضيل يعني ابن مرزوق عن شقيق بن عقبة

عن البراء بن عازب قال

نزلت حافظوا على الصلوات وصلاة العصر فقرأناها على عهد رسول الله ﷺ ما شاء الله أن نقرأها لم ينسخها الله فأنزل {حافظوا على الصلوات والصلاة الوسطى} فقال له رجل كان مع شقيق يقال له أزهر وهي صلاة العصر قال قد أخبرتك كيف نزلت وكيف نسخها الله تعالى والله أعلم

أحمد 18673صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Bara bin Azib
Numbering
Darussalam 18673
Ahmad 18673