Whenever we prayed behind the Messenger of Allah ﷺ, one of us would gesture to his brother on his right and on his left. When the Messenger of Allah ﷺ finished his prayer, he said, "Why does one of you do this, as if they were the tails of restless horses? It is enough for one of you, or is it not enough for one of you, to say it like this." He then placed his right hand on his thigh and gestured with his finger, giving the greeting of peace to his brother on his right and on his left.
حدثنا وكيع حدثنا مسعر عن عبيد الله ابن القبطية
كنا إذا صلينا خلف رسول الله ﷺ أشار أحدنا إلى أخيه من عن يمينه ومن عن شماله فلما صلى رسول الله ﷺ قال ما بال أحدكم يفعل هذا كأنها أذناب خيل شمس إنما يكفي أحدكم أو لا يكفي أحدكم أن يقول هكذا ووضع يمينه على فخذه وأشار بأصبعه يسلم على أخيه من عن يمينه ومن عن شماله