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:5352ʿUmar b. ʿAbd al-ʿAzīz b. ʿUmar b. Qatādah > Abū ʿAmr b. Maṭar > Aḥmad b. al-Ḥusayn b. Naṣr b. Maṭar al-Ḥadhhāʾ > ʿAlī b. al-Madīnī > Ḥumayd b. al-Aswad Abū al-Aswad > Muṣʿab b. Thābit b. ʿAbdullāh b. al-Zubayr > Muḥammad b. Muslim b. Khabbāb > Jāʾ Anas b. Mālik Faqaʿad Makānak > Tadrūn Mā Hadhā al-ʿŪd Qulnā Lā > In

[Machine] Indeed, the Messenger of Allah ﷺ, when he stood up for prayer, would take it with his right hand and say, "Straighten your rows and align them." Then he would take it with his left hand and say, "Straighten your rows and align them." When the mosque was demolished, Umar bin Khattab searched for it and found that it had been taken by the sons of Amr bin Awf, so he placed it in their mosque. He took it back and it was narrated to us through the gates of Al-Amal in prayer, from Umm Qais bint Muhassin, that the Messenger of Allah ﷺ, when he made wudu and carried meat, he would take a column as a support in his place of prayer.  

البيهقي:٥٣٥٢أَخْبَرَنَا عُمَرُ بْنُ عَبْدِ الْعَزِيزِ بْنِ عُمَرَ بْنِ قَتَادَةَ أنبأ أَبُو عَمْرِو بْنُ مَطَرٍ أنبأ أَحْمَدُ بْنُ الْحُسَيْنِ بْنِ نَصْرِ بْنِ مَطَرٍ الْحَذَّاءُ ثنا عَلِيُّ بْنُ الْمَدِينِيِّ ثنا حُمَيْدُ بْنُ الْأَسْوَدِ أَبُو الْأَسْوَدِ ثنا مُصْعَبُ بْنُ ثَابِتِ بْنِ عَبْدِ اللهِ بْنِ الزُّبَيْرِ عَنْ مُحَمَّدِ بْنِ مُسْلِمِ بْنِ خَبَّابٍ قَالَ جَاءَ أَنَسُ بْنُ مَالِكٍ فَقَعَدَ مَكَانَكَ فَقَالَ تَدْرُونَ مَا هَذَا الْعُودُ؟ قُلْنَا لَا قَالَ

إِنَّ رَسُولَ اللهِ ﷺ كَانَ إِذَا قَامَ إِلَى الصَّلَاةِ أَخَذَهُ بِيَمِينِهِ فَقَالَ اعْتَدِلُوا سَوُّوا صُفُوفَكُمْ ثُمَّ أَخَذَهُ بِيَسَارِهِ فَقَالَ اعْتَدِلُوا سَوُّوا صُفُوفَكُمْ فَلَمَّا هُدِمَ الْمَسْجِدُ فُقِدَ فَالْتَمَسَهُ عُمَرُ بْنُ الْخَطَّابِ ؓ فَوَجَدَهُ قَدْ أَخَذَهُ بَنُو عَمْرِو بْنُ عَوْفٍ فَجَعَلُوهُ فِي مَسْجِدِهِمْ فَأَخَذَهُ فَأَعَادَهُ وَرُوِّينَا فِي أَبْوَابِ الْعَمَلِ فِي الصَّلَاةِ عَنْ أُمِّ قَيْسٍ بِنْتِ مِحْصَنٍ أَنَّ رَسُولَ اللهِ ﷺ لَمَّا أَسَنَّ وَحَمَلَ اللَّحْمَ اتَّخَذَ عَمُودًا فِي مُصَلَّاهُ يَعْتَمِدُ عَلَيْهِ  


See similar narrations below:

Collected by Ibn Ḥibbān

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

ibnhibban:2168al-Faḍl b. al-Ḥubāb > Musaddad b. Musarhad And ʿAlī b. al-Madīnī > Ḥumayd b. al-Aswad > Muṣʿab b. Thābit b. ʿAbdullāh b. al-Zubayr > Jiʾt Faqaʿadt > Muḥammad b. Muslim b. Khabbāb Jāʾ Anas b. Mālik Faqaʿad Makānak Hadhā > Tadrūn Mā Hadhā al-ʿŪd Qulnā Lā

[Machine] "Do you know what this is?" We said, "No". He said, "Indeed the Messenger of Allah ﷺ, when he stood up for prayer, would take hold of his right side, then turn around and say, 'Straighten your rows, align your rows.' Then he would take hold of his left side, and say, 'Straighten your rows, align your rows.' When the mosque was demolished, Umar ibn al-Khattab, may Allah be pleased with him, searched for it and found that it was taken by the sons of Amr ibn Awf. They had placed it in their mosque, so he took it back and returned it."  

ابن حبّان:٢١٦٨أَخْبَرَنَا الْفَضْلُ بْنُ الْحُبَابِ قَالَ حَدَّثَنَا مُسَدَّدُ بْنُ مُسَرْهَدٍ وَعَلِيُّ بْنُ الْمَدِينِيِّ قَالَا حَدَّثَنَا حُمَيْدُ بْنُ الْأَسْوَدِ قَالَ حَدَّثَنَا مُصْعَبُ بْنُ ثَابِتِ بْنِ عَبْدِ اللَّهِ بْنِ الزُّبَيْرِ قَالَ جِئْتُ فَقَعَدْتُ فَقَالَ مُحَمَّدُ بْنُ مُسْلِمِ بْنِ خَبَّابٍ جَاءَ أَنَسُ بْنُ مَالِكٍ فَقَعَدَ مَكَانَكَ هَذَا فَقَالَ

تَدْرُونَ مَا هَذَا الْعُودُ؟ قُلْنَا لَا قَالَ إِنَّ رَسُولَ اللَّهِ ﷺ كَانَ إِذَا قَامَ إِلَى الصَّلَاةِ أَخَذَ بِيَمِينِهِ ثُمَّ الْتَفَتَ فَقَالَ «اعْتَدِلُوا سَوُّوا صُفُوفَكُمْ» ثُمَّ أَخَذَ بِيَسَارِهِ ثُمَّ قَالَ «اعْتَدِلُوا سَوُّوا صُفُوفَكُمْ» فَلَمَّا هُدِمَ الْمَسْجِدُ فُقِدَ فَالْتَمَسَهُ عُمَرُ رِضْوَانُ اللَّهِ عَلَيْهِ فَوَجَدَهُ قَدْ أَخَذَهُ بَنُو عَمْرِو بْنِ عَوْفٍ فَجَعَلُوهُ فِي مَسْجِدِهِمْ فَانْتَزَعَهُ فَأَعَادَهُ