When we prayed behind the Messenger of Allah ﷺ, one of us gave the salutation and pointed with his hand to the man to his right side and left side. When he finished his prayer, he said: What is the matter that one of you points with his hand (during prayer) just like the tails of restive horses. It is sufficient for one of you, or is it not sufficient for one of you to say in this manner? And he pointed with his finger; one should salute his brother at his right and left side. (Using translation from Abū Dāʾūd 998)
كُنَّا إِذَا صَلَّيْنَا خَلْفَ رَسُولِ اللهِ ﷺ أَشَارَ أَحَدُنَا إِلَى أَخِيهِ مِنْ عَنْ يَمِينِهِ وَمِنْ عَنْ شِمَالِهِ فَلَمَّا صَلَّى رَسُولُ اللهِ ﷺ قَالَ مَا بَالُ أَحَدِكُمْ يَفْعَلُ هَذَا كَأَنَّهَا أَذْنَابُ خَيْلٍ شُمْسٍ إِنَّمَا يَكْفِي أَحَدَكُمْ أَنْ يَقُولَ هَكَذَا وَوَضَعَ يَمِينَهُ عَلَى فَخِذِهِ وَأَشَارَ بِأُصْبُعِهِ ثُمَّ يُسَلِّمُ عَلَى أَخِيهِ مِنْ عَنْ يَمِينِهِ وَمِنْ عَنْ شِمَالِهِ