Kurayb reported,

Abdullah bin Abbas, Abdul-Rahman bin Azhar, and Miswar bin Makhrama sent him to Ayesha, the wife of the Prophet ﷺ, saying, "Convey our greetings of peace to her from all of us, and ask her about the two units of prayer after the Asr prayer. Tell her that we have been informed that she prays them, even though it has reached us that the Messenger of Allah ﷺ forbade them."Ibn Abbas added, "I used to strike people along with Umar bin Khattab for praying them."Kurayb said, So I went in to her and conveyed to her what they had sent me with.She said, "Ask Umm Salama."So I went out to them and informed them of what she had said, and they sent me back to Umm Salama with the same message they had sent me with to Ayesha.Umm Salama said, "I heard the Messenger of Allah ﷺ forbidding them, then I saw him praying them. As for when he prayed them, he had prayed Asr, then he came in while some women from Banu Haram of the Ansar were with me, and he prayed them. So I sent the servant girl to him and told her, 'Stand beside him and say to him, Umm Salama says, Messenger of Allah, I hear you forbidding these two units of prayer, yet I see you praying them. If he gestures with his hand, then step back from him.'"She continued, "The servant girl did so, and he gestured with his hand, so she stepped back from him. When he finished, he said, 'Daughter of Abu Umaya, you asked about the two units of prayer after Asr. Some people from Abdul-Qays came to me regarding Islam from their tribe and distracted me from the two units of prayer after Dhuhr, so these are those two.'"

Muslim 1933

Sahih

حدثني حرملة بن يحيى التجيبي حدثنا عبد الله بن وهب أخبرني عمرو وهو ابن الحارث عن بكير

عن كريب مولى ابن عباس

أن عبد الله بن عباس وعبد الرحمن بن أزهر والمسور بن مخرمة أرسلوه إلى عائشة زوج النبي ﷺ فقالوا اقرأ عليها السلام منا جميعا وسلها عن الركعتين بعد العصر وقل إنا أخبرنا أنك تصلينهما وقد بلغنا أن رسول الله ﷺ نهى عنهما قال ابن عباس وكنت أضرب مع عمر بن الخطاب الناس عليها قال كريب فدخلت عليها وبلغتها ما أرسلوني به فقالت سل أم سلمة فخرجت إليهم فأخبرتهم بقولها فردوني إلى أم سلمة بمثل ما أرسلوني به إلى عائشة فقالت أم سلمة سمعت رسول الله ﷺ ينهى عنهما ثم رأيته يصليهما أما حين صلاهما فإنه صلى العصر ثم دخل وعندي نسوة من بني حرام من الأنصار فصلاهما فأرسلت إليه الجارية فقلت قومي بجنبه فقولي له تقول أم سلمة يا رسول الله إني أسمعك تنهى عن هاتين الركعتين وأراك تصليهما فإن أشار بيده فاستأخري عنه قال ففعلت الجارية فأشار بيده فاستأخرت عنه فلما انصرف قال يا بنت أبي أمية سألت عن الركعتين بعد العصر إنه أتاني ناس من عبد القيس بالإسلام من قومهم فشغلوني عن الركعتين اللتين بعد الظهر فهما هاتان

مسلم 1933صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Virtues of the Quran and what relates to it
Chapter
Knowing which two rakahs the Prophet ﷺ used to pray after Asr
Numbering
Darussalam 1933
Muslim 1933