Sayyiduna Jabir bin Samurah (may Allah be pleased with him) said: I prayed with the Messenger of Allah (peace and blessings be upon him), and when we gave the salam we would gesture with our hands, saying: As-salamu alaykum. The Messenger of Allah (peace and blessings be upon him) looked at us and said: "What is the matter with you, that you gesture with your hands like the tails of unruly horses? When one of you gives the salam, let him turn towards his companions and not gesture with his hand."
Hadith Referenceالمعجم الكبير للطبراني / باب الجيم / 1827