Bara bin Azib reported,

The Messenger of Allah ﷺ used to walk through the rows from one side to the other, straightening our chests and shoulders, saying, "Do not stand unevenly, or your hearts will differ."He would also say, "Indeed, Allah and His angels send blessings upon the front rows."

Abu Dawud 664

Sahih

حدثنا هناد بن السري وأبو عاصم بن جواس الحنفي عن أبي الأحوص عن منصور عن طلحة اليامي عن عبد الرحمن بن عوسجة

عن البراء بن عازب قال

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

أبو داود 664صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
Straightening the rows
Numbering
Darussalam 664
Abu Dawud 664