fiqhsalatimamimamatconditions
Ideally, the imam is the best and most knowledgeable in fiqh. For validity, the Maliki school requires that he be Muslim, sane, adult (for obligatory prayers), male, upright, knowledgeable enough, able to perform the pillars, and not himself a follower. One who cannot stand does not lead people who are standing.