Abu Masud Uqba bin Amr reported,

The Messenger of Allah ﷺ used to straighten our shoulders during the prayer and say, "Do not differ among yourselves, lest your hearts differ. Let those of maturity and understanding stand closest to me, then those who follow them, then those who follow them."Abu Masud said, "And you today differ far more."Abu Abdul-Rahman said, "Abu Muamar's name is Abdullah bin Sakhbara."

Nasai 808

Sahih

أخبرنا هناد بن السري عن أبي معاوية عن الأعمش عن عمارة بن عمير عن أبي معمر

عن أبي مسعود قال

كان رسول الله ﷺ يمسح مناكبنا في الصلاة ويقول لا تختلفوا فتختلف قلوبكم ليليني منكم أولو الأحلام والنهى ثم الذين يلونهم ثم الذين يلونهم قال أبو مسعود فأنتم اليوم أشد اختلافا قال أبو عبد الرحمن أبو معمر اسمه عبد الله بن سخبرة

النسائي 808صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Leadership
Chapter
Those who stand nearest to the imam, then those next to them
Numbering
Darussalam 808
Nasai 808