(74) باب إِقَامَةِ الصَّفِّ مِنْ تَمَامِ الصَّلاَةِ
Narrated Anas bin Malik:
The Prophet (ﷺ) said, "Straighten your rows as the straightening of rows is essential for a perfect and correct prayer. "
Reference: Sahih al-Bukhari 723
In-book reference: Book 10, Hadith 117
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 11, Hadith 690
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.