deen2u

deen2u — your one-stop center for Islamic resources: the Holy Quran, Hadith, practices, stories of the Prophets, Q&A, and how to practice Islam.

Congregational Prayer — Where Everyone Stands

The imam, one follower, two followers, a mixed row of men and women, and a full congregation — each position the Prophet ﷺ himself taught, with the exact hadith behind it.

Free ebook · A gift from deen2u

This whole page, in one pocket book

Where the imam stands, where one follower stands, where two or more stand, mixed rows of men and women, and straightening the rows — an A5 guide cited to the Sahih and Sunan collections.

  • Imam + one follower — Sahih Muslim 763
  • Imam + two or more — Sahih Muslim 3010
  • Mixed rows — Sahih al-Bukhari 727
  • Straightening the rows — Sunan Abu Dawud 662
Download the free ebook ↓ PDF · A5 · free to share
One followerStands to the imam's right, slightly behind — not level, not on his left
Two or moreForm a row directly behind the imam, not beside him
Mixed groupMen closest to the imam, then children, then women, each in their own row
Rows of menStraightened, shoulder to shoulder, filled from the front row back

Every position below comes from how the Prophet ﷺ himself actually prayed with people around him — reported by the very companions who were physically moved into place by his own hand. Nothing here is a later scholarly convention read back onto him; where a detail is more a matter of established practice than a single direct hadith, that is said plainly rather than dressed up with an invented citation.

Why pray in congregation at all

Before any question of where to stand comes the question of whether to come at all. The Prophet ﷺ said: "The prayer in congregation is twenty-seven times superior to the prayer offered by a person alone." He spoke of wanting to have the prayer begun, then go to the houses of men who stayed away "and burn their houses over them" — words the scholars read as expressing severity, not a literal instruction. And when a blind man asked leave to pray at home, he was asked, "Do you hear the call to prayer?" "Yes." "Then respond to it." On the exact ruling for men the schools genuinely differ: the Hanbalis hold congregational prayer individually obligatory (fard 'ayn), the Shafi'is a communal obligation (fard kifayah), and the Hanafis and Malikis an emphasised sunnah — with many Hanafis calling it wajib. None of them treats it lightly.

Where is it best to pray — the masjid or the home?

A question often asked, and the Sunnah answers it differently for men and for women — not to raise one above the other, but because each is placed where their prayer is most complete and their duties best served.

Where it is best to pray, from the Sunnah: for men, the obligatory prayers in the masjid in congregation — twenty-seven times the reward, and a blind Companion was not excused; for women, the prayer in the home is better and more rewarded than in the masjid, though they are never to be prevented from attending.

The best place to pray

Two answers from one Sunnah — each to its own best good.

For men — the masjid

The obligatory prayers are best — and by the stronger view, due — in the masjid, in congregation. The reward is twenty-seven times greater, and even a blind Companion who heard the call was not excused.

For women — the home

A woman's prayer in her home is better and more rewarded than in the masjid — the more private the room, the better — yet she is never to be prevented from the masjid if she wishes to attend.

For men, the evidence gathered above points to the masjid: the twenty-seven-fold reward (Sahih al-Bukhari 645 · Sahih Muslim 650), the severe warning against staying away, and — most tellingly — the blind Companion Ibn Umm Maktum, who pleaded that he had no guide to the masjid and was still told to answer the call:

Hadith — the blind man is not excused

A blind man said, "O Messenger of Allah, I have no one to guide me to the masjid," and asked for a concession to pray at home. The Prophet ﷺ granted it, then called him back and asked, "Do you hear the call to prayer?" He said, "Yes." He said, "Then respond to it."

Sahih Muslim 653 · Sunan Abi Dawud 552

For women, the Sunnah settles the matter plainly: the home is better, and yet the masjid is never barred to them. Ibn Umar reported the Prophet's ﷺ command:

Hadith — do not prevent them, but their homes are better

لَا تَمْنَعُوا نِسَاءَكُمُ الْمَسَاجِدَ وَبُيُوتُهُنَّ خَيْرٌ لَهُنَّ

"Ibn 'Umar reported the Messenger of Allah (ﷺ) as saying; Do not prevent your women from visiting the mosque; but their houses are better for them (for praying)"

Sunan Abi Dawud 567 — sahih

And when Umm Humayd as-Saʿidiyyah told him she loved to pray with him ﷺ in his own masjid — the most virtuous masjid on earth — he still guided her to the greater reward at home:

Hadith — the innermost room is best

The Prophet ﷺ said: "…your prayer in your innermost room is better than your prayer in your chamber, and your prayer in your chamber is better than your prayer in your house, and your prayer in your house is better than your prayer in the masjid of your people, and your prayer in the masjid of your people is better than your prayer in my masjid." So she had a prayer-place made in the innermost, darkest part of her home, and prayed there until she met Allah.

Musnad Ahmad 27090 · Sahih Ibn Khuzaymah 1689 — sahih

This is a matter of what is better, not of prevention or belittlement. Women attended the Prophet's ﷺ masjid for the five prayers, for Jumuʿah and for the two Eids — he even commanded that they come out for Eid, the menstruating among them keeping back from the prayer-ground to witness the good and the supplication (Sahih al-Bukhari 974). A woman who wishes to pray in the masjid is welcomed; she is simply told that her home holds a still-greater reward, and no guardian may bar her when she asks (Sahih al-Bukhari 900).

One man praying with the imam

The baseline case — a single man joining the imam — is set by a well-known night at the home of the Prophet's ﷺ aunt Maimunah. Ibn Abbas, then a boy, stayed the night and rose to pray tahajjud beside him:

Hadith — Ibn Abbas moved from the left to the right

"I stood on his left side, so he took hold of me by the head, or he said, by my ear, and put me on his right." In another version of the same night: "The Messenger of Allah ﷺ got up to pray, and I stood on his left side. He caught hold of my hand, or my hand's front, and made me go around to his right side."

Sahih Muslim 763

The Prophet ﷺ did not simply leave him where he happened to stand — he physically repositioned him. From this single act, the position for one follower is fixed: beside the imam, on his right, and a little behind him — not exactly level, and never on the left. He continued praying through the night, and whenever Ibn Abbas grew drowsy, the Prophet ﷺ would gently take hold of his ear to rouse him — the same narration's smaller, human detail.

Two or more men — a row behind the imam

The moment a second man joins, the arrangement changes entirely — not two men flanking the imam, but a row forming behind him. This is preserved in a separate, longer hadith of Jabir ibn Abdullah, describing a night on a journey:

Hadith — Jabir and Jabbar ibn Sakhr moved behind him together

Jabir said: "I came and stood on the left side of the Messenger of Allah ﷺ, [so] he caught hold of my hand and made me go round behind his back until he made me stand on his right side. Then Jabbar ibn Sakhr came and stood on the left side of the Messenger of Allah ﷺ, [so] he caught hold of both of us and pushed us back until he made us stand behind him."

Sahih Muslim 3010 (Book of Zuhd and Softening of Hearts, the long hadith of Jabir)

Read together, the two hadiths mark a clean threshold: one follower stands beside the imam, on his right; two or more stand in a row directly behind him. Neither man is left standing beside the imam once there are two — both are drawn back into a single line.

The positions, drawn to scale

Qiblah wall at the top of each panel — the imam always stands closest to it.

Imam Man Boy / child Woman
Four schematic diagrams of congregational prayer row formations

Imam + one man

qiblah I ✕ M right of imam, a little behind

Sahih Muslim 763 — moved from left to right by the Prophet's ﷺ own hand.

Imam + two or more men

qiblah I M M one row, directly behind — not beside

Sahih Muslim 3010 — Jabir and Jabbar ibn Sakhr pulled back together.

Imam + man + woman

qiblah I M F her own row, behind the man — never beside

Sahih al-Bukhari 727 — the orphan's row, then Umm Sulaym's row.

A larger mixed congregation

qiblah I M M M M M M C C F F F men closest, then children, then women furthest back

Row order established practice, built on the same principle as Bukhari 727.

Diagrams are schematic illustrations of the positions described in the hadiths below, not to scale, and not a ruling on exact spacing.

A mixed group — men, children and women together

The clearest single hadith for a mixed household praying together comes from Anas ibn Malik, describing an evening the Prophet ﷺ visited his family's home:

Hadith — the orphan's row, and the woman's row behind it

"Narrated 'Is-haq:Anas bin Malik said, "My grandmother Mulaika invited Allah's Messenger (ﷺ) for a meal which she herself had prepared. He ate from it and said, 'Get up! I will lead you in the prayer.' " Anas added, "I took my Hasir, washed it with water as it had become dark because of long use and Allah's Messenger (ﷺ) stood on it. The orphan (Damira or Ruh) and I aligned behind him and the old lady (Mulaika) stood behind us. Allah's Messenger (ﷺ) led us in the prayer and offered two rak`at and then left"

Sahih al-Bukhari 380 (the Mulaikah version) & Sahih al-Bukhari 727 (the shorter version — chapter: "A single woman may form a row by herself")

Three things this hadith establishes at once: the imam leads from the front, alone; every male present — man or boy — forms a single row directly behind him, regardless of age; and the woman present stands in her own row, behind the men's row, never level with it or between the men. When there is more than one woman, or a larger household, this same layering simply repeats with more people in each row — men nearest the imam, boys next if they pray in a separate row from the men, women furthest back, each group in its own line. This ordering is the consistent understanding drawn from this hadith across the schools; it is not itself a second, separate hadith for larger numbers.

Straightening the rows

Once a congregation is large enough to form full rows of men, a further set of instructions governs how those rows themselves are kept in order — not left to however people happen to stand.

Hadith — part of the completeness of the prayer

"Narrated Anas bin Malik:The Prophet (ﷺ) said, "Straighten your rows as the straightening of rows is essential for a perfect and correct prayer"

Sahih al-Bukhari 723

Hadith — shoulder to shoulder, knee to knee, ankle to ankle

أَقِيمُوا صُفُوفَكُمْ، ثَلَاثًا، وَاللَّهِ لَتُقِيمُنَّ صُفُوفَكُمْ، أَوْ لَيُخَالِفَنَّ اللَّهُ بَيْنَ قُلُوبِكُمْ

Nu'man ibn Bashir reported: the Messenger of Allah ﷺ faced the people and said, "Straighten your rows" — three times — "By Allah, you must straighten your rows, or Allah will certainly cause discord between your hearts." Nu'man said: "I then saw every man joining his shoulder to the shoulder of his companion, his knee to his companion's knee, and his ankle to his companion's ankle."

Sunan Abu Dawud 662 — graded sahih

Hadith — fill the front row first

أَتِمُّوا الصَّفَّ الْمُقَدَّمَ ثُمَّ الَّذِي يَلِيهِ، فَمَا كَانَ مِنْ نَقْصٍ فَلْيَكُنْ فِي الصَّفِّ الْمُؤَخَّرِ

Anas ibn Malik reported the Prophet ﷺ said: "Complete the front row, then the one that comes next, and if there is any incompleteness, let it be in the last row."

Sunan Abu Dawud 671 — graded sahih

Together these establish the practice followed in mosques today: rows are filled from the front backward, gaps are closed rather than left open, and — where space and the local custom allow it — worshippers stand close enough that shoulders, knees and ankles are near their neighbour's, not spread out with a gap between each person. One further detail is commonly repeated but rests on weaker ground: that the right side of a row carries extra reward. The hadith usually cited for it — "Allah and His angels send blessings upon the right side of the rows" — carries a genuinely contested grading: al-Albani judged this wording da'if, while Ibn Hibban graded it sahih and Ibn Hajar called its chain hasan. What is undisputed is the companions' own preference — al-Bara' said: "When we prayed behind the Messenger of Allah ﷺ, we cherished to be on his right side, so that his face would turn towards us." (Sahih Muslim — site reader no. 1537)

Sunan Ibn Majah 1005 — grading contested (da'if per al-Albani; sahih per Ibn Hibban; chain hasan per Ibn Hajar) · Sahih Muslim — site reader no. 1537

The first row, and the women's rows

Position within the rows carries its own weight. The Prophet ﷺ said: "If the people knew the reward for pronouncing the adhan and for standing in the first row, and found no other way to get it except by drawing lots, they would draw lots." And: "The best of the men's rows is the first and the worst is the last; and the best of the women's rows is the last and the worst is the first." Scholars, among them al-Nawawi, explain the women's ranking by the Prophet's ﷺ mosque itself, where men and women prayed in one open space — the further row was the more guarded. Many contemporary jurists therefore hold that where women pray in a fully separate room or gallery, the first row is best for them too; others keep to the hadith's general wording. Both readings are current among today's scholars.

Where the imam himself stands

No single hadith states "the imam must stand exactly here" as an isolated ruling — the imam's position falls out directly from the follower hadiths above: since one follower stands beside-and-behind him, and two or more stand in a row entirely behind him, the imam is, by the same evidence, always the one person standing furthest forward, alone, level with no one. What the hadiths do address directly is a narrower question — whether the imam may stand physically elevated above the row:

Hadith — Hudhaifah pulled down from a raised platform

أَنَّ حُذَيْفَةَ أَمَّ النَّاسَ بِالْمَدَائِنِ عَلَى دُكَّانٍ فَأَخَذَ أَبُو مَسْعُودٍ بِقَمِيصِهِ فَجَبَذَهُ

Hammam reported that Hudhaifah led the people in prayer in al-Mada'in while standing on a raised platform (a shop-front or bench). Abu Mas'ud took hold of his shirt and pulled him down. When Hudhaifah finished his prayer, Abu Mas'ud said, "Did you not know that was forbidden?" He replied, "Yes — I remembered as soon as you pulled me."

Sunan Abu Dawud 597 — graded sahih

So while the exact spot — front and centre, roughly aligned with the middle of the row(s) behind him — is established practice rather than a single quoted hadith, one specific limit on it is directly evidenced: the imam should stand level with, not physically raised above, the people he leads. Where the mosque floor itself is stepped or tiered for sightline reasons, scholars generally treat that as a different matter from the case in this hadith, which was the imam deliberately electing a separate, elevated standing place.

Joining the prayer late (the masbūq)

Not everyone reaches the row before the takbīr. The Sunnah covers this case directly — the latecomer (the masbūq) is told two things: how to arrive, and what to do once he arrives. Both come in a single hadith of Abū Hurayrah:

Hadith — walk with tranquillity; pray what you catch, complete what you miss

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

"Narrated Abu Huraira:The Prophet (ﷺ) said, "When you hear the Iqama, proceed to offer the prayer with calmness and solemnity and do not make haste. And pray whatever you are able to pray and complete whatever you have missed"

Sahih al-Bukhari 636 · Sahih Muslim 602

The instruction runs against instinct. A man who hears the iqāmah — or sees the congregation already bowing — naturally wants to run, and it is exactly that which the Prophet ﷺ forbade: he is walking to prayer, so he comes as one already in a state of prayer, calm and composed, even if it costs him a rakʿah. What he then does is equally simple: he joins the imam wherever the imam is — standing, bowing or prostrating — with the opening takbīr, prays whatever remains with him, and after the imam gives salām he stands and completes on his own what he missed. He does not wait at the back for the next rakʿah to begin, and he does not race through his own missed portion — the same tranquillity governs the end as the beginning.

Does catching the imam in rukūʿ count as catching that rakʿah? Here there is genuine ikhtilāf, and it is worth stating honestly. The well-known view — held by the great majority of scholars across the four schools — is yes: whoever reaches the imam's rukūʿ and bows with him before he rises has caught that rakʿah, even though he missed its standing and recitation. Among the evidences they cite is the incident of the companion Abū Bakrah, who arrived while the Prophet ﷺ was bowing and, afraid of losing the rakʿah, bowed before he had even reached the row, then walked into it:

Hadith — Abū Bakrah bows before reaching the row

زَادَكَ اللَّهُ حِرْصًا وَلاَ تَعُدْ

"Narrated Abu Bakra:I reached the Prophet (ﷺ) in the mosque while he was bowing in prayer and I too bowed before joining the row. I mentioned it to the Prophet (ﷺ) and he said to me, "May Allah increase your love for the good. But do not repeat it again (bowing in that way)"

Sahih al-Bukhari 783

The majority note that the Prophet ﷺ did not order Abū Bakrah to repeat the rakʿah or the prayer — he corrected only the bowing outside the row — and they take this as an indication that what he caught of the rukūʿ stood for him. A minority of scholars, past and present, held otherwise: since the recitation of al-Fātiḥah belongs to the standing, one who missed the standing has missed the rakʿah and must make it up after the imam's salām. Both positions are held by people of knowledge; the well-known and majority position is that the rakʿah is caught with the rukūʿ. What is agreed on either view is the hadith's own rule — do not rush, do not bow before reaching the row, join wherever the imam is, and complete what you missed after his salām.

Every hadith number above was checked directly against this site's own hosted Sunan collections and cross-referenced against sunnah.com's standard numbering before publishing — see the Four Sunan reader and Hadith pages to look any of them up yourself. Where a common practice (like starting rows from the right) rests on a weaker or disputed hadith, that is stated plainly rather than smoothed over. See also: How to pray · The Friday Prayer · Practice.
Shareable poster: Congregational Prayer — Where Everyone Stands

Share this page as a poster

A 1080×1920 image made for phone screens — Stories, Status, Reels. It carries the heading and the link back here, so whoever you send it to can read the whole thing.

WhatsApp Telegram X Download

On a phone you can also long-press the poster and choose Save image. Every poster is on the poster page. Free to share — no attribution needed.