Sahih Bukhari | Volume 1 | Hadith Number 692

Narrated by 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."