The Book of Prayers (Kitab Al-Salat)

Muslim :: Book 4 : Hadith 873

Hammam b. Munabbih reported: This is what was transmitted to us by Abu Huraira from the Messenger of Allah (may peace be upon him) and, while making a mention of a few ahadith, said: (The Messengerof Allah directed us thus): Establish rows in prayer, for the making of a row (straight) is one of the merits of prayer.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star