Hadithcore
Mishkat al-Masabih, 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.

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

References1 variant
In-Book Reference
Book 4, Hadith 515