The Prophet (ﷺ) said, "Straighten your rows or Allah will alter your faces."
Sahih al-Bukhari Book 10, Hadith 112