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: "Whoever has something happen to him during his prayer, let him glorify Allah by saying 'Subhan Allah' (Glory be to Allah), for glorification is for men and clapping is for women."
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 5803