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.
bayhaqi:2291Abū ʿAlī al-Rūdhbārī > Abū Bakr b. Dāsah > Abū Dāwud > Muʿādh b. Muʿādh > Khālid / Ibn al-Ḥārith > Ḥātim / Ibn Abū Ṣaghīrah > Simāk > al-Nuʿmān b. Bashīr

The Messenger of Allah ﷺ used to straighten our rows when we stood up to pray, and when we were straight, he said: Allah is most great (takbir). (Using translation from Abū Dāʾūd 665)   

البيهقي:٢٢٩١وَأَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ أَبُو بَكْرِ بْنُ دَاسَةَ ثنا أَبُو دَاوُدَ ثنا مُعَاذُ بْنُ مُعَاذٍ ثنا خَالِدٌ يَعْنِي ابْنَ الْحَارِثِ ثنا حَاتِمٌ يَعْنِي ابْنَ أَبِي صَغِيرَةَ عَنْ سِمَاكٍ قَالَ سَمِعْتُ النُّعْمَانَ بْنَ بَشِيرٍ ؓ قَالَ

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


See similar narrations below:

Collected by Abū Dāwūd
abudawud:665Ibn Muʿādh > Khālid b. al-Ḥārith > Ḥātim / Ibn Abū Ṣaghīrah > Simāk > al-Nuʿmān b. Bashīr

The Messenger of Allah ﷺ used to straighten our rows when we stood up to pray, and when we were straight, he said: Allah is most great (takbir).  

أبو داود:٦٦٥حَدَّثَنَا ابْنُ مُعَاذٍ حَدَّثَنَا خَالِدُ بْنُ الْحَارِثِ حَدَّثَنَا حَاتِمٌ يَعْنِي ابْنَ أَبِي صَغِيرَةَ عَنْ سِمَاكٍ قَالَ سَمِعْتُ النُّعْمَانَ بْنَ بَشِيرٍ قَالَ

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