(27) باب الأَمْرِ بَالسُّكُونِ فِي الصَّلاَةِ وَالنَّهْيِ عَنِ الإِشَارَةِ بِالْيَدِ وَرَفْعِهَا عِنْدَ السَّلاَمِ وَإِتْمَامِ الصُّفُوفِ الأُوَلِ وَالتَّرَاصِّ فِيهَا وَالأَمْرِ بِالاِجْتِمَاعِ
Jabir b. Samura reported:
We said our prayer with the Messenger of Allah (ﷺ) and, while pronouncing salutations, we made gestures with our hands (indicating)" Peace be upon you, peace be upon you." The Messenger of Allah (ﷺ) looked towards us and said: Why is it that you make gestures with your hands like the tails of headstrong horses? When any one of you pro- nounces salutation (in prayer) he should only turn his face towards his companion and should not make a gesture with his hand.
Reference: Sahih Muslim 431 b
In-book reference: Book 4, Hadith 133
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 867