Sahih Muslim
Sahih Muslim 436b
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، أَخْبَرَنَا أَبُو خَيْثَمَةَ، عَنْ سِمَاكِ بْنِ حَرْبٍ، قَالَ سَمِعْتُ النُّعْمَانَ بْنَ بَشِيرٍ، يَقُولُ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يُسَوِّي صُفُوفَنَا حَتَّى كَأَنَّمَا يُسَوِّي بِهَا الْقِدَاحَ حَتَّى رَأَى أَنَّا قَدْ عَقَلْنَا عَنْهُ ثُمَّ خَرَجَ يَوْمًا فَقَامَ حَتَّى كَادَ يُكَبِّرُ فَرَأَى رَجُلاً بَادِيًا صَدْرُهُ مِنَ الصَّفِّ فَقَالَ " عِبَادَ اللَّهِ لَتُسَوُّنَّ صُفُوفَكُمْ أَوْ لَيُخَالِفَنَّ اللَّهُ بَيْنَ وُجُوهِكُمْ " .
Nu'man ibn Bashir reported: The Messenger of Allah (ﷺ) used to straighten our rows as carefully as arrows are aligned, until he saw that we had learned from him. One day he came out and stood, almost ready to begin the prayer, when he saw a man's chest protruding from the row. He said: “Servants of Allah, you must straighten your rows, or Allah will cause discord among you.”