Sunan Ibn Majah, Book 5, Hadith 190 (Ibn Majah 992)

It was narrated that Jabir bin Samurah As-Suwa’i said:

“The Messenger of Allah (ﷺ) said: ‘Will you not form your rows as the angels form their rows before their Lord?’ We said: ‘How do the angels form their rows before their Lord?’ He said: ‘They complete the first row and they stand close of one another in the line (leaving no gaps between one another).’”