Praying in congregation

Chapter 15 · about 14 min read

In short

  • Praying together in jamaah (congregation) is worth 27 times more than praying alone.
  • For men it is a strong duty. Scholars differ on how strong: a firm sunnah, a duty on the community, or a duty on each man.
  • Women may pray at the masjid and no one should stop them. Praying at home is also fine for them, and better, according to a sahih hadith.
  • Stand in straight rows, follow the imam closely, and never get ahead of him.
  • If you arrive late, walk calmly. If you catch the imam in ruku (bowing), you have caught that rakah. After the imam's salam, stand and finish what you missed.
Take the short lessonsThe key points of this chapter, a few screens at a time, with a quick check at the end.

Why pray together

Jamaah means a group. Salah in jamaah is when Muslims pray together behind one imam (the person who leads). Allah says: bow down with those who bow down1.

Nabi ﷺ said: prayer in jamaah is twenty-seven times better than prayer alone2. In another hadith he explained part of the reason. When you make good wudu and walk to the masjid only to pray, every step raises you one level and wipes away one sin. While you wait for the prayer, the angels keep asking Allah to forgive you and have mercy on you3.

Allah even told Nabi ﷺ to lead the prayer in jamaah on the battlefield, in groups taking turns4. If jamaah was kept in war, it is a big thing in normal life.

  • It brings hearts together. Rich and poor stand side by side, shoulder to shoulder.
  • You learn. You hear the Quran, and you learn from others.
  • It keeps you going. Praying with others makes it easier to stay regular.
Sources for this section
  1. 1(Quran 2:43)
  2. 2(Bukhari 645)
  3. 3(Bukhari 647)
  4. 4(Quran 4:102)

How required is it?

Nabi ﷺ took jamaah very seriously. He once said he almost wanted to set fire to the houses of men who stayed away from the prayer in jamaah without a reason5. He did not do it, but the warning shows how much it matters.

Ibn Mas'ud said that in their time, no one stayed away from jamaah except a known hypocrite or a sick person. Some sick men were even brought to the masjid leaning on two people6.

The full story: the blind man who asked to pray at home

A blind man came to Nabi ﷺ. He said: Messenger of Allah, I have no one to lead me to the masjid. He asked if he could pray at home instead7.

Nabi ﷺ gave him permission. The man turned to leave. Then Nabi ﷺ called him back and asked: do you hear the call to prayer? He said: yes. Nabi ﷺ said: then answer it8.

What this teaches us

  • Jamaah is worth real effort. Even a blind man with no helper was encouraged to come, because he could hear the adhan.
  • Nabi ﷺ was kind first. He said yes at first, then gently encouraged him toward the better choice.
  • Real excuses still count. Scholars agree that illness, real fear, heavy rain and similar problems excuse a person from coming.

The four schools

Because of hadith like these, scholars agree jamaah is very important for men. They differ on its exact level:

SchoolJamaah for the five daily prayers, for men
HanafiSunnah mu'akkadah (a firm sunnah). Many Hanafi scholars say it is wajib (required)
MalikiSunnah mu'akkadah (a firm sunnah)
Shafi'iFard kifayah: a duty on the community. If enough men pray it in jamaah in a town, the rest are free of the sin
HanbaliFard 'ayn: a duty on every man who is able. But if he prays alone, his prayer still counts, and he loses the reward of jamaah

All four agree that a prayer prayed alone is still valid. The difference is about how much reward is lost, and whether there is sin.

Sources for this section
  1. 5(Bukhari 644)
  2. 6(Muslim 654)
  3. 7(Muslim 653)
  4. 8(Muslim 653)

Women and the masjid

Women prayed at the masjid in the time of Nabi ﷺ. He said: do not stop the female servants of Allah from going to the masjids of Allah9.

One of Umar's wives used to pray Fajr and Isha at the masjid. Someone asked her why, when she knew Umar did not like it. She said: what stops him from stopping me? The answer: this very hadith10.

In another sahih hadith Nabi ﷺ said: do not stop your women from the masjids, but their homes are better for them11.

  • Jamaah is not a duty for women. All four schools agree.
  • A woman who prays at home gets full reward. Nobody should make her feel she is missing out.
  • A woman who goes to the masjid is doing something allowed. Nobody should stop her or make her feel unwelcome. She goes in modest clothes and without strong perfume.
  • Rows: women's rows are behind the men's. Nabi ﷺ said the best rows for women are the back ones12. This was when men and women prayed in one open hall. In a separate women's area, simply fill the rows from the front.

Women praying together

A woman can lead other women. Nabi ﷺ told Umm Waraqah to lead the people of her house in prayer13.

  • Shafi'i and Hanbali: allowed, and good. She stands in the middle of the front row, not in front of it.
  • Hanafi: the prayer counts, but they dislike it.
  • Maliki: a woman does not lead the prayer. Each woman prays on her own.
Sources for this section
  1. 9(Bukhari 900)
  2. 10(Bukhari 900)
  3. 11(Abu Dawud 567)
  4. 12(Muslim 440)
  5. 13(Abu Dawud 592)

Who should lead

Nabi ﷺ said the person who should lead is the one who knows the Quran best. If they are equal, then the one who knows the Sunnah best. Then the one who made hijrah first. Then the one who became Muslim first, or in another wording, the oldest14.

He also said: no one should lead a man in his own home or in the place where he is in charge without his permission15. So:

  • In a masjid, the regular imam leads.
  • In a home, the owner of the house leads, or asks someone else to.
  • Among friends who all know about the same, the older one leads16.

A man leads men, or a mixed group. A boy who has not reached puberty can lead other children. Most scholars say he does not lead adults in the required prayers, but Shafi'is allow it.

The imam should keep the prayer light. Nabi ﷺ said: when you lead people, keep it short, because among them are the weak, the sick and the old. When you pray alone, make it as long as you like17.

Sources for this section
  1. 14(Muslim 673)
  2. 15(Muslim 673)
  3. 16(Bukhari 658)
  4. 17(Bukhari 703)

Straight rows

Nabi ﷺ said: make your rows straight, because straight rows are part of a complete prayer18.

  • Stand in line: heel with heel and shoulder with shoulder with the person next to you.
  • Close the gaps. Do not leave space in the row.
  • Fill the front row first, then the next. Do not start a new row while the one in front has space.
  • Start each row from the middle, behind the imam, and spread out to the right and left.
Sources for this section
  1. 18(Bukhari 723)

Where to stand

Who is prayingWhere they stand
Imam and one man or boyHe stands at the imam's right side, level with him. Shafi'is say a tiny bit behind
Imam and two or more menThey make a row behind the imam
Imam and one womanShe stands behind him, not beside him
Imam, men and womenMen's rows first, then children, then women's rows

Ibn Abbas, as a boy, once joined Nabi ﷺ in his night prayer and stood on his left. Nabi ﷺ took him by the head and moved him to his right side19.

Anas said Nabi ﷺ once led a prayer in his grandmother's house. Anas and an orphan boy stood behind him in a row, and the old lady stood behind them20. This also shows that a boy can stand in the row with a man.

Someone joins you after you have started with one person? The one on the right can step back to make a row with the newcomer. Or the imam can step forward. Either way, both followers end up behind the imam.

Sources for this section
  1. 19(Bukhari 699)
  2. 20(Bukhari 380)

Follow the imam, do not race him

Nabi ﷺ said: the imam is there to be followed. When he says Allahu akbar, say it. When he bows, bow. When he goes down into sujud, go down after him21.

The Companions did not even start to bend down for sujud until Nabi ﷺ had put his forehead on the ground22.

He gave a strong warning to anyone who rushes ahead: is the one who lifts his head before the imam not afraid that Allah will turn his head into the head of a donkey?23

Four ways to move with the imam

  • Ahead of the imam: not allowed. If you go into a pillar, like ruku, before him on purpose and stay there, many scholars say your prayer is spoiled.
  • At exactly the same moment: disliked. Wait for him.
  • Just after him: this is the right way. Move as soon as he has said Allahu akbar and reached the position.
  • Far behind him: not right either. Do not stay in sujud long after he has stood up.

Reciting behind the imam

The schools differ on whether you read al-Fatiha behind the imam. Shafi'is say yes, always. Hanafis say no, the imam's recitation is enough. Malikis and Hanbalis say listen when he recites aloud, and read it yourself when he is quiet. All of these are strong views. Follow what you were taught.

Sources for this section
  1. 21(Bukhari 734)
  2. 22(Bukhari 690)
  3. 23(Bukhari 691)

Joining late (the masbuq)

A masbuq is someone who joins after the imam has already started. Nabi ﷺ said: when you hear the iqamah, walk to the prayer calmly. Do not rush. Pray what you catch, and finish what you missed24.

How to join

  • Stand in the row and say Allahu akbar standing up. This is your opening takbir.
  • Then join the imam in whatever position he is in: standing, bowing, in sujud or sitting. Do not wait for him to stand up again25.
  • If he is in ruku, say a second Allahu akbar as you go down if you can. If you only have time for one, it is enough for most scholars, as long as you said it standing.

When does a rakah count?

  • You caught the imam in ruku: all four schools say you have caught that rakah, even though you missed al-Fatiha. You need to be still in ruku for a moment before he rises.
  • You joined after the ruku (when he is standing up from it, in sujud, or sitting): join him, but that rakah does not count for you. You will make it up26.

Abu Bakrah once hurried in and went into ruku before even reaching the row, so he would not miss the rakah. Nabi ﷺ said: may Allah increase your eagerness, but do not do that again27. Do not rush, and join the row first.

Finishing after the imam's salam

  • When the imam says the salam, do not say it with him. Wait until he has finished both salams.
  • Then say Allahu akbar, stand up, and pray the rakat you missed, as if praying alone.
  • Sit for tashahhud where it falls in your own count, and end with your own salam.

Example: you joined Maghrib in the third rakah. You caught one rakah. After the imam's salam, stand and pray one rakah, then sit for the tashahhud (that was your second). Stand, pray one more rakah, then sit for the last tashahhud and say the salam. In the rakat you make up, read al-Fatiha. Many scholars say also add a surah where one is normally read.

Did I get the jamaah reward? Hanafis, Shafi'is and Hanbalis say yes if you joined any time before the imam's salam. Malikis say you need to catch at least one full rakah.

Sources for this section
  1. 24(Bukhari 636)
  2. 25(Abu Dawud 893)
  3. 26(Abu Dawud 893)
  4. 27(Bukhari 783)

Praying behind someone of another school

Your prayer behind an imam of another school is valid. A Hanafi can pray behind a Shafi'i, a Maliki behind a Hanbali, and so on. The Companions and the great imams prayed behind each other, even though they differed on details.

Nabi ﷺ said about imams: if they get it right, the reward is for you and for them. If they get it wrong, the reward is yours and the mistake is on them28.

  • Follow the imam in what he does, like when he does sujud as-sahw, or whether he says qunut in Fajr.
  • Do not argue about small differences in the masjid. Unity in the row is worth more.
Sources for this section
  1. 28(Bukhari 694)

The second jamaah in a masjid

Sometimes a few people arrive after the main jamaah has finished. Can they pray together as a second group?

A man once came after Nabi ﷺ had finished the prayer. Nabi ﷺ said: who will give charity to this man by praying with him? And a man stood up and prayed with him29.

  • Hanbali: a second jamaah is allowed.
  • Hanafi, Maliki and Shafi'i: it is disliked in a masjid that has a regular imam, so that people do not stop coming on time to the main jamaah. Some of them allow it if done quietly, away from the imam's place.
  • On a highway masjid or a prayer room with no regular imam, all agree it is fine.

Many masjids today have their own rule for this. Follow your local masjid.

Sources for this section
  1. 29(Tirmidhi 220)

Praying at home with your family

If you cannot get to the masjid, pray in jamaah at home with your wife, children or anyone with you. Nabi ﷺ told a group of young men going home to teach their families and to have the oldest one lead the prayer30. Most scholars say even two people make a jamaah.

  • The husband or father usually leads. His wife stands behind him, not beside him31.
  • A son old enough to stand in the row stands at his father's right, or in the row behind with the others.
  • It is a great way to teach children to pray.

Nabi ﷺ also told us to pray some of our extra prayers at home, so our homes are not like graves32. So: required prayers in the masjid when you can, extra prayers at home.

Sources for this section
  1. 30(Bukhari 631)
  2. 31(Bukhari 380)
  3. 32(Bukhari 432)

Common questions

The masjid is far from my work. Do I have to go?
No. Real distance and work duties are an excuse. If there are other Muslims at work, pray together in a quiet room. That is a jamaah too.
I arrived as the imam was rising from ruku. Should I wait for the next rakah?
No. Join straight away in whatever position he is in. That rakah will not count, so make it up after his salam33. You still get reward for the time with the imam.
I am praying my sunnah and the iqamah is called.
Most scholars say leave the sunnah or finish it quickly, and join the required prayer. Hanafis allow finishing the two sunnah rakat of Fajr first if you can still catch the imam.
I already prayed at home. Then I went to the masjid and they were praying.
Join them. Nabi ﷺ told two men who had prayed at their camp to do this, and said it counts as an extra prayer for them34. Hanafis do this only for Dhuhr and Isha.
Can my 8 year old son stand next to me in the row?
Yes. Anas prayed in a row with an orphan boy35. Just teach him to stay still and quiet.
My wife and I pray together at home. Where does she stand?
Behind you. Even if she is the only one with you, she does not stand beside you.
The imam is too fast and I cannot finish al-Fatiha.
Follow the imam. Do not fall far behind. The imam carries what you could not finish. If you can, kindly ask him to slow down a little36.
Can I follow an imam on a live stream from home?
No. The four schools say you must be in the same place as the imam, with rows joined, to follow him. Pray on your own instead.
Sources for this section
  1. 33(Abu Dawud 893)
  2. 34(Abu Dawud 575)
  3. 35(Bukhari 380)
  4. 36(Bukhari 703)

This guide teaches what most scholars hold and notes where the four schools differ. For your own situation, ask a scholar you trust or your local masjid.

All of Fiqh