during the prayer and would say, “Stand straight and do not differ, lest your hearts differ (1). Let those of you who possess maturity and sound judgement (2) stand closest to me, then those who come next, then those who come next.” Related by Muslim.
1094 – Anas (may Allah be pleased with him) reported that the Messenger of Allah ﷺ said, “Straighten your rows, for straightening the row is part of completing the prayer.” Agreed upon.
In another wording recorded by al-Bukhari: “For the straightening of the rows is part of establishing the prayer.”
1095 – He also reported: When the prayer had been called, the Messenger of Allah ﷺ turned to us facing us and said, “Align your rows and draw close together, for I can see you from behind my back.” Narrated by al-Bukhari in these very words, and by Muslim with the same meaning.
Al-Bukhari also related: “Each one of us would put his shoulder against the shoulder of his companion and his foot against his foot.”
1096 – Al-Nuʿmān ibn Bashīr (may Allah be pleased with them both) said: I heard the Messenger of Allah ﷺ say, “You will certainly straighten your rows, or Allah will surely cause your faces to differ.” Agreed upon.
In a narration reported by Muslim: The Messenger of Allah ﷺ used to straighten our rows as though he were aligning arrow shafts (3) until he saw that we had understood. Then one day he came out, stood ready to pronounce the opening takbīr, and noticed a man whose chest was protruding from the row. He said, “Servants of Allah, straighten your rows, or Allah will surely cause your faces to differ.”
1097 – Al-Barāʾ ibn ʿĀzib (may Allah be pleased with them both) said: The Messenger of Allah ﷺ would move between the rows from one side to the other, gently passing his hand over our chests and shoulders, and he would say, “Do not—”