Praying together (jama'ah)
As soon as two people pray together, it is a congregational prayer: one leads (the imam), the other follows. Everyone performs the same movements, just after the imam, never before him.
It is worth far more than praying alone. For men, it is an obligation according to the Hanbalis, a communal obligation according to the Shafi'is, and a strongly emphasised sunnah according to the Hanafis and Malikis.
jamaa.jpgوَأَقِيمُواْ ٱلصَّلَوٰةَ وَءَاتُواْ ٱلزَّكَوٰةَ وَٱرۡكَعُواْ مَعَ ٱلرَّـٰكِعِينَ﴿٤٣﴾
And establish prayer and give zakah and bow with those who bow [in worship and obedience]
Imam Men Women
The reference text
«صَلاَةُ الْجَمَاعَةِ تَفْضُلُ صَلاَةَ الْفَذِّ بِسَبْعٍ وَعِشْرِينَ دَرَجَةً»
“Prayer in congregation is twenty-seven degrees better than prayer performed alone.”
Sahih al-Bukhari 645 · Read on sunnah.com
«فَجِئْتُ فَقُمْتُ عَنْ يَسَارِهِ، فَجَعَلَنِي عَنْ يَمِينِهِ»
Ibn 'Abbas relates: “I came and stood on his left, and he moved me to his right.”
Sahih al-Bukhari 697 · Read on sunnah.com
«فَقَامَ رَسُولُ اللَّهِ صلى الله عليه وسلم وَصَفَفْتُ وَالْيَتِيمَ وَرَاءَهُ، وَالْعَجُوزُ مِنْ وَرَائِنَا، فَصَلَّى لَنَا رَسُولُ اللَّهِ صلى الله عليه وسلم رَكْعَتَيْنِ»
Anas relates: “The Messenger of Allah ﷺ stood up; the orphan and I formed a row behind him, and the old lady behind us. He led us in two rak'at.”
Sahih al-Bukhari 380 · Read on sunnah.com
«إِنَّمَا جُعِلَ الإِمَامُ لِيُؤْتَمَّ بِهِ فَلاَ تَخْتَلِفُوا عَلَيْهِ، فَإِذَا رَكَعَ فَارْكَعُوا، وَإِذَا قَالَ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ. فَقُولُوا رَبَّنَا لَكَ الْحَمْدُ. وَإِذَا سَجَدَ فَاسْجُدُوا، وَإِذَا صَلَّى جَالِسًا فَصَلُّوا جُلُوسًا أَجْمَعُونَ، وَأَقِيمُوا الصَّفَّ فِي الصَّلاَةِ، فَإِنَّ إِقَامَةَ الصَّفِّ مِنْ حُسْنِ الصَّلاَةِ»
“The imam is appointed only to be followed, so do not differ from him. When he bows, bow; when he says ‘Allah hears the one who praises Him’, say ‘Our Lord, to You is all praise’; when he prostrates, prostrate; and if he prays sitting, all pray sitting. Straighten the row in prayer, for straightening the row is part of the beauty of the prayer.”
Sahih al-Bukhari 722 · Read on sunnah.com
«إِذَا سَمِعْتُمُ الإِقَامَةَ فَامْشُوا إِلَى الصَّلاَةِ، وَعَلَيْكُمْ بِالسَّكِينَةِ وَالْوَقَارِ وَلاَ تُسْرِعُوا، فَمَا أَدْرَكْتُمْ فَصَلُّوا وَمَا فَاتَكُمْ فَأَتِمُّوا»
“When you hear the iqamah, walk to the prayer calmly and with dignity, and do not hurry. Pray what you catch, and complete what you missed.”
Sahih al-Bukhari 636 · Read on sunnah.com
Practical cases
Who leads?
The one who knows the Quran best, then the one who knows the Sunnah best (Muslim 673). In someone's home, the host leads unless he gives up his place. A child who knows how to pray may lead according to the Shafi'is; the other schools restrict this to voluntary prayers or discourage it.
Arriving late
One joins the imam wherever he is, without running. If one joins before he rises from bowing, the rak'a counts. After his final salutation, one stands alone to perform the missing rak'at (al-Bukhari 636).
If the imam makes a mistake
Men alert him by saying “subhan Allah”; women by clapping one hand on the other (al-Bukhari 1203).
May a woman lead?
A woman may lead other women: this is recommended according to the Shafi'is and Hanbalis, following the practice of 'A'isha and Umm Salamah (reported by 'Abd ar-Razzaq and al-Bayhaqi); it is valid but discouraged according to the Hanafis, and not valid according to the adopted Maliki view. The four schools agree that she does not lead men.
Sources: Sahîh al-Bukhârî 380, 636, 645, 697, 722, 1203 ; Sahîh Muslim 673 ; 'Abd ar-Razzâq, al-Musannaf, bâb al-mar'a ta'ummu an-nisâ' ; Al-Bayhaqî, as-Sunan al-kubrâ, bâb al-mar'a ta'ummu an-nisâ' ; Ibn Qudâma, al-Mughnî, bâb al-imâma ; An-Nawawî, al-Majmû', bâb sifat al-a'imma ; Ibn Rushd, Bidâyat al-mujtahid, bâb al-imâma