He said that Ayesha instructed him to write out a copy of the Quran for her. She said, "When you reach this verse, let me know, 'Maintain the prayers, and the middle prayer'."When he reached it, he informed her, and she dictated to him, "Maintain the prayers, and the middle prayer, and the afternoon prayer, and stand before Allah devoutly obedient" [Baqarah 2:238].Then Ayesha said, "I heard it this way from the Messenger of Allah ﷺ."
حدثنا القعنبي عن مالك عن زيد بن أسلم عن القعقاع بن حكيم
أنه قال أمرتني عائشة أن أكتب لها مصحفا وقالت إذا بلغت هذه الآية فآذني {حافظوا على الصلوات والصلاة الوسطى} فلما بلغتها آذنتها فأملت علي حافظوا على الصلوات والصلاة الوسطى وصلاة العصر وقوموا لله قانتين ثم قالت عائشة سمعتها من رسول الله ﷺ
Muslim narrated it in the book of Mosques, in the chapter titled "Evidence for those who say the middle prayer is Asr," hadith no. 629, from the hadith of Malik with this chain, and it is found in Muwatta (Yahya): 1/138, 139.