Question
Will the prayer be valid if one prays behind a Barelvi or a Deobandi? And what is the ruling in a situation where only Barelvis and Deobandis are present, given that the command is that when you hear the call to prayer, it is necessary to be present in the mosque for the congregation, except for a legitimate excuse?
Answer
الحمد لله، والصلاة والسلام علىٰ رسول الله، أما بعد!
◄ If the Deobandi is a firm monotheist and does not harbour hatred or aversion toward one who prays according to the Sunnah, but rather considers that person’s practice to be correct as well,
then in my view, and in the view of other Ahl al-Hadith researchers, praying behind him is permissible.
◄ But if he is fanatical and has aversion to the Sunnah, then one should not pray behind him.
The ruling on praying behind Barelvis
◄ The very creed of the Barelvis is not correct, because they are involved in shirk.
◄ For this reason, praying behind them is absolutely impermissible.
◄ Their own prayer is not valid either.
◄ In the Noble Qur’an it is said about the polytheists:
﴿أُو۟لَـٰٓئِكَ حَبِطَتْ أَعْمَـٰلُهُمْ وَفِى ٱلنَّارِ هُمْ خَـٰلِدُونَ ﴿١٧﴾
That is, all the deeds of the polytheists have been lost, and they will remain in Hellfire forever.
◄ When their own deeds are rejected and void, what benefit will others gain from following them in prayer?
If only Barelvis are present in the area
◄ In a place where only Barelvis are present and no one else, this too is a legitimate excuse.
◄ It is as though there is no congregation or imam there at all.
◄ In this case, the monotheists should:
✿ Pray in their own place.
✿ If possible, gather like-minded monotheists and establish a small mosque, and perform the prayer in congregation in it.
✿ Until the mosque is ready, gather at the prayer times in their homes or in some other building and perform the prayer in congregation.
◄ But one should never pray behind the Barelvis.
ھذا ما عندی واللہ اعلم بالصواب