Question :
What is the ruling on praying behind an undesirable Imam?
The Answer :
It is permissible to pray behind an Imam who is undesirable for committing religious violations, and it is disliked for such an Imam to lead the prayer. Still, If he was undesirable for a personal, or a worldly matter, then such argument doesn’t hold water. And Allah Knows Best.