Language:
كتاب الأذان
10  
Call to Prayers (Adhaan)
(75)
Chapter: The sin of a person who does not complete the rows (who is out of alignment) for the prayer
(75)
باب إِثْمِ مَنْ لَمْ يُتِمَّ الصُّفُوفَ
Sahih al-Bukhari 724

Narrated Anas bin Malik:

I arrived at Medina and was asked whether I found any change since the days of Allah's Messenger (ﷺ). I said, "I have not found any change except that you do not stand in alignment in your prayers."

حَدَّثَنَا مُعَاذُ بْنُ أَسَدٍ، قَالَ أَخْبَرَنَا الْفَضْلُ بْنُ مُوسَى، قَالَ أَخْبَرَنَا سَعِيدُ بْنُ عُبَيْدٍ الطَّائِيُّ، عَنْ بُشَيْرِ بْنِ يَسَارٍ الأَنْصَارِيِّ، عَنْ أَنَسِ بْنِ مَالِكٍ، أَنَّهُ قَدِمَ الْمَدِينَةَ فَقِيلَ لَهُ مَا أَنْكَرْتَ مِنَّا مُنْذُ يَوْمِ عَهِدْتَ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ مَا أَنْكَرْتُ شَيْئًا إِلاَّ أَنَّكُمْ لاَ تُقِيمُونَ الصُّفُوفَ‏.‏ وَقَالَ عُقْبَةُ بْنُ عُبَيْدٍ عَنْ بُشَيْرِ بْنِ يَسَارٍ قَدِمَ عَلَيْنَا أَنَسُ بْنُ مَالِكٍ الْمَدِينَةَ بِهَذَا‏.‏
Reference : Sahih al-Bukhari 724
In-book reference : Book 10, Hadith 118
USC-MSA web (English) reference : Vol. 1, Book 11, Hadith 691
  (deprecated numbering scheme)
(76)
Chapter: To stand shoulder to shoulder and foot to foot in a row
(76)
باب إِلْزَاقِ الْمَنْكِبِ بِالْمَنْكِبِ وَالْقَدَمِ بِالْقَدَمِ فِي الصَّفِّ
Sahih al-Bukhari 725

Narrated Anas bin Malik:

The Prophet (ﷺ) said, "Straighten your rows for I see you from behind my back." Anas added, "Everyone of us used to put his shoulder with the shoulder of his companion and his foot with the foot of his companion."

حَدَّثَنَا عَمْرُو بْنُ خَالِدٍ، قَالَ حَدَّثَنَا زُهَيْرٌ، عَنْ حُمَيْدٍ، عَنْ أَنَسٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ أَقِيمُوا صُفُوفَكُمْ فَإِنِّي أَرَاكُمْ مِنْ وَرَاءِ ظَهْرِي ‏"‏‏.‏ وَكَانَ أَحَدُنَا يُلْزِقُ مَنْكِبَهُ بِمَنْكِبِ صَاحِبِهِ وَقَدَمَهُ بِقَدَمِهِ‏.‏
Reference : Sahih al-Bukhari 725
In-book reference : Book 10, Hadith 119
USC-MSA web (English) reference : Vol. 1, Book 11, Hadith 692
  (deprecated numbering scheme)