✍🏻 Answer:
📖 Hadith
Hazrat Anas ibn Malik (RA) narrates:
«حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنْ إِسْحَاقَ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ: صَلَّيْتُ أَنَا وَيَتِيمٌ، فِي بَيْتِنَا خَلْفَ النَّبِيِّ ﷺ، وَأُمِّي أُمُّ سُلَيْمٍ خَلْفَنَا»
Translation:
I and an orphan boy prayed behind the Prophet ﷺ in our house, and my mother Umm Sulaim (RA) stood behind us.
(Sahih al-Bukhari)
Prayer can also be performed in congregation at home. The method is that a man of the household who is qualified to lead becomes the Imam and the others pray following him. However, the way the Imam and followers stand differs according to the number of followers and whether they are men or women. The details are as follows:
1️⃣ If There Are Only Two Men in the House
If only two men are praying in the house, one the Imam and the other the follower, the follower will stand on the Imam's right side, level with him. Care should be taken that in no case should the follower's ankle be ahead of the Imam's ankle; rather, as a precaution, the follower's heel should remain slightly behind the Imam's heel.
2️⃣ If There Are Three or More Men in the House
If there are two or more male followers besides the Imam, all the followers will stand in one row behind the Imam. If there is one follower and another man joins during the prayer, both will form a row behind the Imam.
3️⃣ If Husband and Wife Pray in Congregation
If only a husband and wife are praying in the house, the husband will be the Imam and the wife will stand behind him, not level with him. In this case, the husband should intend to lead and the wife should intend to follow.
4️⃣ If Men, Children and Women All Join the Congregation
If men, minor boys and women all join the congregation at home, the order of the rows will be as follows:
1. The Imam will stand in front.
2. Behind the Imam, adult men and adult boys will form a row.
3. Behind the men, minor boys will form a row.
4. Lastly, the women will form a row at the back.
Women will not stand level with the men or in the same row with them.
5️⃣ If One Man and One Woman Join the Imam
If, besides the Imam, one man and one woman join the congregation, the man will stand on the Imam's right and the woman will stand behind both of them.
6️⃣ If Only Women Follow the Imam
If a man is the Imam and only women are praying behind him, the women will form a row behind the Imam. However, for the women's following to be valid, it is necessary for the Imam to intend to lead them.
7️⃣ Can a Woman Lead a Congregation of Women?
According to Hanafi jurisprudence, it is makruh tahrimi for a woman to lead other women in prayer. Therefore, women should pray behind a male Imam.
8️⃣ How to Begin a Congregation at Home
The method of holding a congregation at home is:
1. Everyone performs wudu and stands facing the qiblah.
2. The Imam makes the intention for prayer and begins with Takbeer-e-Tahreemah, that is, saying Allahu Akbar.
3. The followers also say Takbeer-e-Tahreemah and begin the prayer following the Imam.
4. The Imam recites, and the followers follow him in ruku, sajdah and the other pillars.
5. After the Imam turns his salam, the followers also turn their salam.
Saying the iqamah before starting the congregation is Sunnah. If the adhan has already been called in the mosque, it is not necessary to call the adhan again at home.
9️⃣ Does Praying in Congregation at Home Fulfil the Ruling of the Mosque Congregation?
It should especially be remembered that an adult man who, without a valid Shariah excuse, leaves the mosque congregation and makes it a habit to always hold the congregation at home should not do so.
In Hanafi jurisprudence, the mosque congregation is strongly emphasized for men. Therefore, whoever is able to attend the mosque congregation should make a point of attending it.
However, if going to the mosque is not possible because of a valid Shariah excuse, one may hold a congregation at home and pray.
واللہ تعالیٰ اعلم بالصواب
محمد عظمت الله نظامي عفی عنہ