Iranian police have detained a controversial Shi'ite cleric after clashing with his supporters outside his Tehran home .