Straightening the rows before the beginning of the prayer
It is narrated from Nu’man bin Bashir (may Allah be pleased with him) that:
كان رسول الله يسوى صـفـوفـنـا إذا قمنا إلى الصلاة فإذا استوينا كبر
“When we stood up for the prayer, the Messenger of Allah ﷺ would straighten our rows, and when we were straight, he ﷺ would say the opening takbir.”
➊ Allah the Most High says:
وَمَا أُمِرُوا إِلَّا لِيَعْبُدُوا اللَّهَ مُخْلِصِينَ لَهُ الدِّينَ
“They were commanded only to worship Allah, making their religion sincerely for Him alone.”
➋ The Prophetic hadith is:
وإنما الأعمال بالنيات
“Indeed, deeds depend upon intentions.”
(Shawkani, may Allah have mercy on him) Intention is a condition for the validity of the prayer.
(Siddiq Hasan Khan, may Allah have mercy on him) holds the same view.
(Ibn Hazm, may Allah have mercy on him) Intention in the prayer is obligatory and necessary.
(Ibn Qudamah, may Allah have mercy on him) The prayer is not valid without intention.
(The Hanafis, Hanbalis and Malikis) Intention is one of the conditions of the prayer.
(The Shafi’is) Intention is one of the obligatory parts or pillars of the prayer.
(Wahbah Zuhayli, may Allah have mercy on him) Intention in the prayer is obligatory by consensus.
(The preponderant view) Intention is a condition for the prayer; its place is only the heart, and pronouncing the words of the intention with the tongue is an innovation. For further detail, study the issue of intention in the preceding “Chapter on Wudu”.