I prayed with the Messenger of Allah ﷺ, and whenever we gave the salam we would gesture with our hands, saying, "Peace be upon you, peace be upon you."The Messenger of Allah ﷺ looked at us and said, "What is the matter with you, gesturing with your hands as though they were the tails of restive horses? When one of you gives the salam, let him turn to his companion and not signal with his hand."
أخبرنا أحمد بن سليمان قال حدثنا عبيد الله بن موسى قال حدثنا إسرائيل عن فرات القزاز عن عبيد الله وهو ابن القبطية
صليت مع رسول الله ﷺ فكنا إذا سلمنا قلنا بأيدينا السلام عليكم السلام عليكم قال فنظر إلينا رسول الله ﷺ فقال ما شأنكم تشيرون بأيديكم كأنها أذناب خيل شمس إذا سلم أحدكم فليلتفت إلى صاحبه ولا يومئ بيده
[sahih] This has already been mentioned, no. 1186, and it is in Kubra, no. 1249.