Mishkat al-Masabih
Sahl b. Sa‘d reported God's Messenger as saying, “If anything happens to someone during prayer he should say, ‘Glory be to God,’ for clapping applies only to women.” In a version he said, “Saying 'Glory be to God’ applies to men and clapping to women.” (Bukhari and Muslim.)
وَعَنْ سَهْلِ بْنِ سَعْدٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ «مَنْ نَابَهُ شَيْءٌ فِي صَلَاتِهِ فَلْيُسَبِّحْ فَإِنَّمَا التَّصْفِيقُ لِلنِّسَاءِ» وَفِي رِوَايَةٍ: قَالَ: «التَّسْبِيحُ لِلرِّجَالِ والتصفيق للنِّسَاء»
Reference