Hadith 1098

Anas told how God’s Messenger used to say to those on his right, ‘‘Keep straight and straighten your rows," and say the same to those on his left. Abu Dawud transmitted it.

وَعَنْ أَنَسٍ قَالَ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ عَنْ يَمِينِهِ: «اعْتَدِلُوا سَوُّوا صُفُوفَكُمْ» . وَعَنْ يَسَارِهِ: «اعْتَدِلُوا سَوُّوا صُفُوفَكُمْ» . رَوَاهُ أَبُو دَاوُ

Reference: 5610980
In-book reference: Book 4, Hadith 1098
Hadith 1098 - Prayer - Mishkat al-Masabih - Sunnah.com