Sayyiduna Sahl bin Sa'd (may Allah be pleased with him) says: The Prophet (peace and blessings be upon him) went to Banu Amr bin Awf to make peace between them, and the time of prayer came. The muezzin came to Sayyiduna Abu Bakr (may Allah be pleased with him) and said: "Will you lead the people in prayer, so that I may call the iqamah?" He (may Allah be pleased with him) said: "Yes," and he (may Allah be pleased with him) led the prayer. The Messenger of Allah (peace and blessings be upon him) came while the people were in prayer. He (peace and blessings be upon him) made his way through (the rows) and stood in the row. Then the people began clapping, and Sayyiduna Abu Bakr (may Allah be pleased with him) would not turn around in prayer. When the people clapped a great deal, Sayyiduna Abu Bakr (may Allah be pleased with him) turned and saw the Messenger of Allah (peace and blessings be upon him). The Prophet (peace and blessings be upon him) instructed him: "Stay in your place." Sayyiduna Abu Bakr (may Allah be pleased with him) raised his hands and praised Allah for what the Messenger of Allah (peace and blessings be upon him) had instructed him. Then Sayyiduna Abu Bakr (may Allah be pleased with him) stepped back and stood in the row. The Prophet (peace and blessings be upon him) went forward and led the prayer. When he finished the prayer, he said: "O Abu Bakr! What prevented you from remaining firm in your place?" Sayyiduna Abu Bakr (may Allah be pleased with him) replied: "It is not fitting for the son of Abu Quhafah to lead the prayer in front of the Messenger of Allah (peace and blessings be upon him)." The Prophet (peace and blessings be upon him) said: "Why is it that I see you clapping so much? When something happens to anyone in the prayer, let him say 'Subhan Allah' (Glory be to Allah), for when he says 'Subhan Allah', attention will be paid to him; clapping is only for women."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5306
Sayyiduna Sahl bin Sa'd (may Allah be pleased with him) says: There was fighting among Banu Amr bin Awf. The news reached the Prophet (peace and blessings be upon him), so he (peace and blessings be upon him) came to them after Zuhr to make peace between them. He (peace and blessings be upon him) said to Sayyiduna Bilal (may Allah be pleased with him): "If the time of Asr comes and I have not come back to you, tell Abu Bakr (may Allah be pleased with him) to lead the prayer." When the time of Asr came, Sayyiduna Bilal (may Allah be pleased with him) called the adhan, then the iqamah, then told Sayyiduna Abu Bakr (may Allah be pleased with him), and he went forward. At the end of this hadith it says: "When something happens in the prayer, the men are to say 'Subhan Allah' (Allah is free of all imperfection), and the women are to clap."
His words to Bilal in this hadith are an addition that Hammad bin Zayd preserved, and an addition in such a case is accepted. And Allah knows best.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5307