Whenever we prayed with the Messenger of Allah ﷺ, we would say, "Peace be upon you and the mercy of Allah, peace be upon you and the mercy of Allah," gesturing with our hands to either side.The Messenger of Allah ﷺ said, "Why are you signaling with your hands as if they were the tails of restless horses? It is enough for one of you to place his hand on his thigh, then give the greeting of peace to his brother on his right and on his left."
حدثنا أبو بكر بن أبي شيبة قال حدثنا وكيع عن مسعر ح و حدثنا أبو كريب واللفظ له قال أخبرنا ابن أبي زائدة عن مسعر حدثني عبيد الله بن القبطية
كنا إذا صلينا مع رسول الله ﷺ قلنا السلام عليكم ورحمة الله السلام عليكم ورحمة الله وأشار بيده إلى الجانبين فقال رسول الله ﷺ علام تومئون بأيديكم كأنها أذناب خيل شمس إنما يكفي أحدكم أن يضع يده على فخذه ثم يسلم على أخيه من على يمينه وشماله