Congregational Prayer (Salah in Jamaah): Ruling, Reward and Catching It
Praying together behind an imam. Its reward is that it is better than the prayer of a person alone by twenty-seven degrees.
Abdullah ibn Umar said that the Messenger of Allah (peace be upon him) said:
صَلَاةُ الْجَمَاعَةِ تَفْضُلُ صَلَاةَ الْفَذِّ بِسَبْعٍ وَعِشْرِينَ دَرَجَةً
The prayer in congregation is better than the prayer of a person alone by twenty-seven degrees.
Another hadith of Abu Hurayrah gives twenty-five parts (Sahih al-Bukhari 648). Both are in the Sahih, and the two reports differ in the number. Another hadith of Abu Hurayrah says: when a man makes wudu well and goes out to the masjid with nothing driving him but the prayer, he is raised one degree and has one sin wiped away with every step, and the angels pray for him as long as he stays in his place of prayer (Sahih al-Bukhari 647).
The ruling on congregational prayer
Jurists differ about the ruling for men. Some hold that it is an individual duty, which is the explicit position of Ahmad. Some hold that it is a communal duty, which is the preferred position among the Shafiis. Others hold that it is a confirmed sunnah, which is the well-known position among the Hanafis and most Malikis.
Ibn Abbas said that the Messenger of Allah said:
مَنْ سَمِعَ النِّدَاءَ فَلَمْ يَأْتِهِ فَلَا صَلَاةَ لَهُ إِلَّا مِنْ عُذْرٍ
Whoever hears the call and does not come, has no prayer, except for an excuse.
Abu Hurayrah reported that the Prophet said: "I had intended to order the prayer to be established, then order a man to lead the people, and then go with men carrying bundles of firewood to people who do not attend the prayer" (Sahih Muslim 651).
Leaving the congregation in a town
Abu ad-Darda said that he heard the Messenger of Allah say:
مَا مِنْ ثَلَاثَةٍ فِي قَرْيَةٍ وَلَا بَدْوٍ لَا تُقَامُ فِيهِمُ الصَّلَاةُ إِلَّا قَدِ اسْتَحْوَذَ عَلَيْهِمُ الشَّيْطَانُ، فَعَلَيْكَ بِالْجَمَاعَةِ فَإِنَّمَا يَأْكُلُ الذِّئْبُ الْقَاصِيَةَ
There are no three in a village or in the desert among whom the prayer is not established but the devil has overpowered them. So hold to the congregation, for the wolf eats the straggler.
As-Sa'ib said at the end of the hadith that "the congregation" here means prayer in congregation.
How to catch the congregation
The Prophet said:
مَا أَدْرَكْتُمْ فَصَلُّوا وَمَا فَاتَكُمْ فَأَتِمُّوا
Pray what you catch, and complete what you miss.
So a person who arrives while the imam is praying joins him and prays what he catches, then completes what he missed. How to make up what was missed after the imam's salam, and whether catching the ruku counts as a rak'ah, are not in this hadith.
Questions about congregational prayer
What is the reward of praying in congregation?
Twenty-seven degrees better than the prayer of a person alone in the hadith of Ibn Umar, and twenty-five parts in the hadith of Abu Hurayrah. The reward of Fajr and Isha in congregation is on the page Fajr prayer.
Is the congregation waived for a traveller or a sick person?
The hadith of Ibn Abbas says "except for an excuse", so an excuse is excepted. The details of excuses are in fiqh. For travellers see qasr prayer.