Question
A maulvi led prayer with two congregations at one time. Is the prayer of the second congregation behind him valid or not?
Answer
Leading two congregations in prayer at one time is legitimate according to the Shariah, and the prayer of the second congregation is also valid. The evidence for this comes from the hadiths mentioned in Bukhari and Muslim.
In Mishkat Sharif it is narrated from Jabir (may Allah be pleased with him) that:
“Mu’adh ibn Jabal (may Allah be pleased with him) used to pray with the Prophet ﷺ, then go to his people and lead them in prayer.”
Similarly, Mu’adh (may Allah be pleased with him) used to pray the Isha prayer with the Prophet ﷺ as an obligatory prayer, and then lead his people in the same prayer again as a voluntary prayer, while for the people it was the obligatory prayer. This hadith is mentioned in Bukhari and Bayhaqi.
Imam Nawawi (may Allah have mercy on him) says that this hadith proves that a person praying an obligatory prayer may pray behind an imam who is praying a voluntary prayer, and there is no prohibition against this in the Shariah.
Similarly, in another hadith, the Prophet ﷺ prayed separately with different groups in a state of fear, leading each group in a separate prayer, although for him ﷺ it was a voluntary prayer while for those following him it was obligatory.
Conclusion:
It is permissible according to the Shariah for the imam to lead two congregations in prayer at one time, and the prayer of the second congregation is also valid, as is established by the aforementioned hadiths.