The Prophet (
ﷺ) said: Saying
Tasbih applies to men during
prayer and clapping applies to women. Anyone who makes a sign during his prayer, a sign which is intelligible by implication, should repeat it (i.e. his prayer).
(Abu Dawud commented on the Hadith saying, this is a result of confusion.)