Imam Jafar ibn Muhammad Al-Sadiq عليه السلام said: "Three people should not be prayed behind: the one who is unknown (al-majhūl), the extremist (al-ghālī) even if he claims to hold your beliefs, and the one who openly commits sinful acts (al-mujāhir bil-fisq) even if he appears moderate."