Sunan Abi Dawud, Book 3, Hadith 993 (USC-MSA) ⓘ
Jabir b. Samurah said: 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.
حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا يَحْيَى بْنُ زَكَرِيَّا، وَوَكِيعٌ، عَنْ مِسْعَرٍ، عَنْ عُبَيْدِ اللَّهِ ابْنِ الْقِبْطِيَّةِ، عَنْ جَابِرِ بْنِ سَمُرَةَ، قَالَ كُنَّا إِذَا صَلَّيْنَا خَلْفَ رَسُولِ اللَّهِ صلى الله عليه وسلم فَسَلَّمَ أَحَدُنَا أَشَارَ بِيَدِهِ مِنْ عَنْ يَمِينِهِ وَمِنْ عَنْ يَسَارِهِ فَلَمَّا صَلَّى قَالَ " مَا بَالُ أَحَدِكُمْ يَرْمِي بِيَدِهِ كَأَنَّهَا أَذْنَابُ خَيْلٍ شُمْسٍ إِنَّمَا يَكْفِي أَحَدَكُمْ - أَوْ أَلاَ يَكْفِي أَحَدَكُمْ - أَنْ يَقُولَ هَكَذَا " . وَأَشَارَ بِأُصْبُعِهِ " يُسَلِّمُ عَلَى أَخِيهِ مَنْ عَنْ يَمِينِهِ وَمَنْ عَنْ شِمَالِهِ " .
also referenced under: Hadith 998 (DarusSalam) & Hadith 993 (Hasan)