Sunan an-Nasa'i, Book 10, Hadith 37 (Nasa'i 815)

It was narrated from Anas that the Prophet (ﷺ) used to say:

"Make your rows straight, make your rows straight, make your rows straight. By the One in Whose Hand is my soul! I can see you behind me as I can see you in front of me."