Sunan Abi Dawud, Book 2, Hadith 555 (Abu Dawud 945)

Narrated AbuHurayrah:

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). (AbuDawud commented on the Hadith saying, this is a result of confusion.)