It wasnarrated that Anas bin Malik said:
"The Messenger of Allah(ﷺ)said: 'Make your rows straight, for straightening the rows ispartof completing the prayer.'"
English reference: Vol. 1, Book 5, Hadith 993
Arabic reference: Book 5, Hadith 1046
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.