The Prophet ﷺ said, "Whoever encounters something during his prayer should say, 'Subhan Allah.' Clapping is for women, and saying tasbih is for men."
حدثنا سفيان عن أبي حازم سمع
عن النبي ﷺ قال من نابه شيء في صلاته فليقل سبحان الله إنما التصفيح للنساء والتسبيح للرجال