Kurayb reported,

Ibn Abbas, Miswar bin Makhrama, and Abdul-Rahman bin Azhar رضي الله عنهم sent him to Ayesha رضي الله عنها. They said, "Convey our greetings of peace to her from all of us, and ask her about the two rakahs after the Asr prayer. Tell her that we have been informed that you pray them, even though it has reached us that the Prophet ﷺ forbade them."Ibn Abbas added, "I used to strike people alongside Umar bin Khattab for praying them."Kurayb said, "I went in to see Ayesha رضي الله عنها and conveyed to her what they had sent me with."She replied, "Ask Umm Salama."So I went out to them and told them what she had said, and they sent me back to Umm Salama with the same message they had sent me to Ayesha with.Umm Salama رضي الله عنها said, "I heard the Prophet ﷺ forbid them, then later I saw him pray them after he had prayed Asr. He came in to me while some women from Bani Haram of the Ansar were with me, so I sent the servant girl to him. I told her, 'Stand beside him and say to him, Umm Salama says to you, Messenger of Allah, I heard you forbid these two rakahs, yet I see you praying them. If he gestures with his hand, then step back from him.'The girl did so, and he gestured with his hand, so she stepped back from him. When he had finished, he said, 'Daughter of Abu Umaya, you asked about the two rakahs after Asr. Some people from Abdul-Qays came to me and distracted me from the two rakahs after Dhuhr, so these are those two.'"

Bukhari 1233

Sahih

حدثنا يحيى بن سليمان قال حدثني ابن وهب قال أخبرني عمرو عن بكير

عن كريب

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

البخاري 1233صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Forgetfulness
Chapter
If someone speaks to him while he is praying and he gestures with his hand and listens
Numbering
Darussalam 1233
Bukhari 1233