Anas reported the Messenger of Allah (ﷺ) as saying :
Straighten your rows for the straightening of the rows is part of perfecting the prayer.