Is it permissible to pray behind an imam if there is animosity, dislike, or unease between him and me?
"In this matter, there are details, as jurists differentiate between worldly animosity and dislike due to a deficiency in religion or adherence to it. There are indeed Hadith that prohibit the imamate of one whom his people dislike, among them: 'Three whose prayers do not rise a hand-span above their heads: a man who leads a people while they dislike him,' and 'Three whose prayers do not pass beyond their ears: ... and an Imam of a people while they dislike him.' Some jurists have deemed it forbidden, while others consider it disliked (makruh).
It is more likely that if the Imam is committed to religion and the Sunnah, his imamate is not disliked, even if the people dislike him for that reason, or due to worldly disputes, and his prayer is valid in both cases. His imamate is disliked if they dislike him for a reprehensible meaning in Islamic law, such as him being unjust, or unworthy of the imamate, or negligent in his purity or the postures of prayer, or engaging in a reprehensible livelihood."
Summarized from the full answer at Ftawy · reviewed Sep 2, 2026
Read the full answer on Ftawyhttps://ftawy.com/en/questions/32917