A dispute broke out between two clans of the Ansar, and it escalated to the point that they were throwing stones at one another. The Prophet ﷺ went out to reconcile them, but the time for prayer arrived while he was still away. Bilal called the adhan and waited for the Messenger of Allah ﷺ, but when he was delayed, Bilal called the iqamah and Abu Bakr stepped forward to lead the prayer.Then the Prophet ﷺ arrived while Abu Bakr was leading the people in prayer. When the people saw him, they began clapping. Abu Bakr would not normally turn around during prayer, but when he heard their clapping, he looked back and saw the Messenger of Allah ﷺ. He intended to step back, but the Prophet ﷺ gestured to him to remain in his place. Abu Bakr
raised his hands, then withdrew backwards, and the Messenger of Allah ﷺ stepped forward and led the prayer.When the Messenger of Allah ﷺ finished the prayer, he asked, "What kept you from staying in your place?"Abu Bakr replied, "It was not for the son of Abu Quhafa to lead the prayer in front of the Prophet of Allah."Then he turned to the people and said, "Why is it that whenever something happens during your prayer, you start clapping? Clapping is for women. Whoever notices something during his prayer should say, 'Subhan Allah.'"
أخبرنا محمد بن منصور قال حدثنا سفيان قال حدثنا أبو حازم قال سمعت
وقع بين حيين من الأنصار كلام حتى تراموا بالحجارة فذهب النبي ﷺ ليصلح بينهم فحضرت الصلاة فأذن بلال وانتظر رسول الله ﷺ فاحتبس فأقام الصلاة وتقدم أبو بكر رضي الله عنه فجاء النبي ﷺ وأبو بكر يصلي بالناس فلما رآه الناس صفحوا وكان أبو بكر لا يلتفت في الصلاة فلما سمع تصفيحهم التفت فإذا هو برسول الله ﷺ أراد أن يتأخر فأشار إليه أن اثبت فرفع أبو بكر رضي الله عنه يعني يديه ثم نكص القهقرى وتقدم رسول الله ﷺ فصلى فلما قضى رسول الله ﷺ الصلاة قال ما منعك أن تثبت قال ما كان الله ليرى ابن أبي قحافة بين يدي نبيه ثم أقبل على الناس فقال ما لكم إذا نابكم شيء في صلاتكم صفحتم إن ذلك للنساء من نابه شيء في صلاته فليقل سبحان الله
[Its chain of transmission is sahih] Ahmad reported it, 5/330, and Humaydi, no. 933, from Sufyan bin Uyayna, with this wording. It is agreed upon (by Bukhari and Muslim) through the hadith of Abu Hazim, as mentioned before, no. 785, and elsewhere, and it is found in Kubra, no. 5967.