Sunan an-Nasa'i #813
The Book of Leading the Prayer (Al-Imamah) 10:37
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."