It is narrated from Sayyiduna Sahl bin Sa'd (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When something happens to one of you in his prayer, let him say subhan Allah, for saying subhan Allah is for men and clapping is for women."
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 5836