Abu Hurairah reported,

From the Messenger of Allah ﷺ, he mentioned several hadith, among them that he said, "Straighten the rows in prayer, for straightening the rows is part of the excellence of prayer."

Muslim 977

Sahih

حدثنا محمد بن رافع حدثنا عبد الرزاق حدثنا معمر عن همام بن منبه قال هذا ما حدثنا

أبو هريرة

عن رسول الله ﷺ فذكر أحاديث منها وقال أقيموا الصف في الصلاة فإن إقامة الصف من حسن الصلاة

مسلم 977صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Prayer
Chapter
Straightening and establishing the rows, the virtue of the first row and then those following it, crowding at the first row and racing to it, giving precedence to people of virtue and bringing them closer to the imam
Numbering
Darussalam 977
Muslim 977