The importance of congregation:
❀ Allah the Exalted says:
وَأَقِيمُوا الصَّلَاةَ وَآتُوا الزَّكَاةَ وَارْكَعُوا مَعَ الرَّاكِعِينَ
Establish the prayer, give the zakah, and bow with those who bow (that is, in congregation) (that is, offer the prayer).
❀ The Messenger of Allah ﷺ said:
من سمع النداء فلم يأته فلا صلاة له إلا من عذر
Whoever hears the call to prayer and does not come to the mosque (but prays at home instead), there is no prayer for him, unless he has an excuse.
❀ A blind man said to the Messenger of Allah ﷺ: I have no one to lead me to the mosque; am I permitted to pray at home? The Messenger of Allah ﷺ asked: Do you hear the call to prayer? He said: Yes! So he ﷺ said: Then you must (come to the mosque for the prayer).
❀ The importance of congregation is undeniable, but it is not obligatory, because Yazid ibn al-Aswad (may Allah be pleased with him) reports:
He prayed with the Messenger of Allah ﷺ while he was a young man. When he ﷺ had finished the prayer, he saw two men at one side of the mosque who had not prayed (with the congregation). He ﷺ had them called, and when they were brought before him, their shoulders were trembling. He ﷺ asked: What prevented you from praying with us? They said: We had already prayed in our lodgings. He ﷺ said: Do not do that. If any of you has prayed in his lodging and then finds the imam who has not yet prayed, let him pray with him as well; it will be a voluntary prayer for him.
In this hadith the Messenger of Allah ﷺ treated the prayer they had offered at home as permissible.
The virtue of congregation:
❀ The Messenger of Allah ﷺ said:
Whoever performs wudu well and then walks to the mosque solely to pray, all his previous sins are forgiven.
❀ And the Messenger of Allah ﷺ said:
When a man performs wudu well and goes to the mosque only for the prayer, with no other purpose, then with every step he takes he is raised one degree and one sin is erased, until he enters the mosque. And when a man enters the mosque, he is considered to be in prayer for as long as he is held there by the prayer (that is, he continues to receive the reward of prayer). And as long as the worshipper remains seated in his place of prayer, the angels keep supplicating for him: O Allah, have mercy on him; O Allah, forgive him; O Allah, accept his repentance, until he harms someone or his wudu is broken.
❀ And the saying of the Messenger ﷺ is:
The reward of prayer in congregation is twenty-seven times greater than the prayer of one praying alone.
❀ And describing the virtue of congregation, he ﷺ said: The one among the people who will receive the greatest reward for prayer is the one who comes to the congregation from the farthest distance.
❀ And about the one who goes to the mosque in a state of wudu, he ﷺ said:
Whoever performs wudu and walks to an obligatory prayer receives a reward equal to that of the one who goes for Hajj in the state of ihram.
❀ And he ﷺ said:
A man’s prayer with one other man is better than his prayer alone, and his prayer with two men is better than his prayer with one man, and the larger the congregation in which a prayer is offered, the more beloved it is to Allah the Exalted.
❀ And he ﷺ said:
Whoever sets out from his house to pray in congregation, and upon going to the mosque finds that the congregation has finished, he will have the reward of praying in congregation; he will not receive even slightly less reward than those who prayed in congregation.
The warning against abandoning congregation:
❀ The Messenger of Allah ﷺ said:
لقد هممت أن آمر المؤذن فيقيم، ثم آمر رجلا يؤم الناس، ثم آخذ شعلا من نار فأحرق على من لا يخرج إلى الصلاة بعد
I have intended to order the muadhdhin to call the iqamah, then to order a man to lead the people in prayer, and then to take a flame of fire and burn the houses of those who have not come out to pray.
❀ And the Messenger of Allah ﷺ said:
If there are only three Muslims in a village or in the wilderness and they do not make arrangements for prayer in congregation, Satan gains mastery over them. Hold fast to praying in congregation, because the wolf eats the sheep that is alone (that is, Satan overpowers the man who is alone).
How many people are needed for a congregation?
❀ If there are two men, they should pray in congregation. The Messenger of Allah ﷺ said to Malik ibn al-Huwayrith (may Allah be pleased with him) and his companion:
إذا حضرت الصلاة فأذنا وأقيما، وليؤمكما أكبركما
When the time for prayer comes, give the adhan and the iqamah, then let the elder of you two lead the prayer.
❀ If there is only one Muslim somewhere, he too should make the adhan and pray in congregation, because the Messenger of Allah ﷺ said:
إن ربك يعجب من راعي غنم على رأس جبل يؤذن بالصلاة ويقيمها فيصلي، فيقول الله: انظروا إلى عبدي هذا يؤذن ويقيم الصلاة وهو يخافني، قد غفرت له وأدخلته الجنة
Your Lord is greatly pleased with a shepherd of sheep on the top of a mountain who gives the adhan (then the iqamah and) prays.
Etiquette of going to the prayer:
❀ The Messenger of Allah ﷺ said:
When you hear the iqamah, walk to the prayer with calmness and dignity, and do not hurry. Pray whatever part of the prayer you catch with the congregation, and complete whatever you miss afterwards.
❀ And the Messenger of Allah ﷺ said:
When any of you performs wudu well and then goes towards the mosque, he should not interlace the fingers of one hand with the fingers of the other, for he is in prayer.
❀ That is, a person walking towards the mosque is in prayer, so he should not do anything on the way that is contrary to the prayer.
And the Prophet ﷺ said:
When any of you enters the mosque, he must pray two rak’ahs before sitting.
If someone prayed a voluntary or obligatory prayer before sitting, then there is no need to pray Tahiyyat al-Masjid.