Sunan Abi Da'ud · Hadith 668
Prayer (Kitab Al-Salat) - كتاب الصلاة
حدثنا أبو الوليد الطيالسي، وسليمان بن حرب، قالا حدثنا شعبة، عن قتادة، عن أنس، قال قال رسول الله صلى الله عليه وسلم " سووا صفوفكم فإن تسوية الصف من تمام الصلاة " .
Anas reported the Messenger of Allah (ﷺ) as saying : Straighten your rows for the straightening of the rows is part of perfecting the prayer.
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).