The people put him in front

If the people make him an imam, then he inherits an inheritance, because God Almighty says : “And we make them imams, and we make them the heirs. ”