حَدَّثَنَا مُحَمَّدُ بْنُ الصَّبَّاحِ، أَنْبَأَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنِ الأَعْمَشِ، عَنْ عُمَارَةَ بْنِ عُمَيْرٍ، عَنْ أَبِي مَعْمَرٍ، عَنْ أَبِي مَسْعُودٍ الأَنْصَارِيِّ، قَالَ كَانَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ يَمْسَحُ مَنَاكِبَنَا فِي الصَّلاَةِ وَيَقُولُ " لاَ تَخْتَلِفُوا فَتَخْتَلِفَ قُلُوبُكُمْ لِيَلِيَنِي مِنْكُمْ أُولُو الأَحْلاَمِ وَالنُّهَى ثُمَّ الَّذِينَ يَلُونَهُمْ ثُمَّ الَّذِينَ يَلُونَهُمْ " .
It wasnarrated that Abu Mas’ud Al-Ansari said: “The Messenger ofAllah(PBUH) used to gently pat our shoulders (to make sure the row wasstraight) at the time of prayer, saying: ‘Keep (the rows) straight,donot differ from one another lest your hearts should suffer fromdiscord. Let those who are forbearing and wise stand closest to me,then those who are next to them, then those who are next to them.’” Translation Not Available
Book Ref: Sunan Ibn Majah Book 5 Hadith 976
Web Ref: Sunan Ibn Majah Vol 1 Book 5 Hadith 976