Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:13664ʿAffān > Shuʿbah > Qatādah > Anas b. Mālik > Sawwūā Ṣufūfakum Faʾin Taswiyah al-Ṣaf from Tamām al-Ṣalāh > ʿAbdullāh Aẓunnuh

The Messenger of Allah ﷺ said: Straighten your rows. for the straightening of a row is a part of the perfection of prayer. (Using translation from Muslim 433)  

أحمد:١٣٦٦٤حَدَّثَنَا عَفَّانُ حَدَّثَنَا شُعْبَةُ قَالَ أَخْبَرَنِي قَتَادَةُ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

سَوُّوا صُفُوفَكُمْ فَإِنَّ تَسْوِيَةَ الصَّفِّ مِنْ تَمَامِ الصَّلَاةِ قَالَ عَبْدُ اللهِ أَظُنُّهُ عَنِ النَّبِيِّ ﷺ وَأَنَا أَحْسَبُ أَنِّي قَدْ أَسْقَطْتُهُ  


See similar narrations below:

Collected by Muslim, Abū Dāwūd, Ibn Ḥibbān
muslim:433Muḥammad b. al-Muthanná And Ibn Bashhār > Muḥammad b. Jaʿfar > Shuʿbah > Qatādah > Anas b. Mālik

The Messenger of Allah ﷺ said: Straighten your rows. for the straightening of a row is a part of the perfection of prayer.  

مسلم:٤٣٣حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى وَابْنُ بَشَّارٍ قَالاَ حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ قَالَ سَمِعْتُ قَتَادَةَ يُحَدِّثُ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ سَوُّوا صُفُوفَكُمْ فَإِنَّ تَسْوِيَةَ الصَّفِّ مِنْ تَمَامِ الصَّلاَةِ  

abudawud:668Abū al-Walīd al-Ṭayālisī And Sulaymān b. Ḥarb > Shuʿbah > Qatādah > Anas

Straighten your rows for the straightening of the rows is part of perfecting the prayer.  

أبو داود:٦٦٨حَدَّثَنَا أَبُو الْوَلِيدِ الطَّيَالِسِيُّ وَسُلَيْمَانُ بْنُ حَرْبٍ قَالاَ حَدَّثَنَا شُعْبَةُ عَنْ قَتَادَةَ عَنْ أَنَسٍ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ سَوُّوا صُفُوفَكُمْ فَإِنَّ تَسْوِيَةَ الصَّفِّ مِنْ تَمَامِ الصَّلاَةِ  

ذِكْرُ الْأَمْرِ بِتَسْوِيَةِ الصُّفُوفِ لِلْمَأْمُومِينَ إِذِ اسْتِعْمَالُهُ مِنْ تَمَامِ الصَّلَاةِ

ibnhibban:2174Abū Khalīfah > Abū al-Walīd al-Ṭayālisī > Shuʿbah > Qatādah > Anas

The Messenger of Allah ﷺ said: Straighten your rows. for the straightening of a row is a part of the perfection of prayer. (Using translation from Muslim 433)  

ابن حبّان:٢١٧٤أَخْبَرَنَا أَبُو خَلِيفَةَ قَالَ حَدَّثَنَا أَبُو الْوَلِيدِ الطَّيَالِسِيُّ قَالَ حَدَّثَنَا شُعْبَةُ عَنْ قَتَادَةَ عَنْ أَنَسٍ

عَنِ النَّبِيِّ ﷺ قَالَ «سَوُّوا صُفُوفَكُمْ فَإِنُّ تَسْوِيَةُ الصَّفِّ مِنْ تَمَامِ الصَّلَاةِ»