"I heard Jabir bin Samurah say: 'When we prayed behind the Prophet ﷺ we used to say: As-salamu 'alaykum, as-salamu 'alaykum (peace be upon you, peace be upon you)" - and Mis'ar (one of the narrators) pointed with his hand to the right and the left. He ﷺ said: 'What is the matter with these people who wave their hands as if they are the tails of wild horses? It is sufficient for one to place his hands on his thighs and to say the salam to his brother to his right and left." (Using translation from Nasāʾī 1318)
سَمِعْتُ جَابِرَ بْنَ سَمُرَةَ يَقُولُ كُنَّا إِذَا صَلَّيْنَا خَلْفَ النَّبِيِّ ﷺ قُلْنَا السَّلَامُ عَلَيْكُمِ السَّلَامُ عَلَيْكُمْ وَأَشَارَ مِسْعَرٌ بِيَدِهِ عَنْ يَمِينِهِ وَعَنْ شِمَالِهِ فَقَالَ «مَا بَالُ هَؤُلَاءِ يَرْفَعُونَ أَيْدِيَهُمْ كَأَنَّهَا أَذْنَابُ الْخَيْلِ الشُّمُسِ أَمَا يَكْفِي أَحَدَكُمْ أَوْ أَحَدَهُمْ أَنْ يَضَعَ يَدَهُ عَلَى فَخِذِهِ ثُمَّ يُسَلِّمُ عَلَى أَخِيهِ مِنْ عَنْ يَمِينِهِ وَشِمَالِهِ»