If after the prayer is finished, one discovers that the imam had made a mistake in his recitation, should he repeat the prayer?

No repeat of the prayer is necessary by anyone, not even the imam if he discovers the mistake. A Hadith tells us that an angel is sent down to correct the recitation and present it to God as correct. Thus, the prayer is valid for all participants despite the mistake, even if one knows the mistake straightaway but cannot correct the imam because one is well behind, which means that the imam would not hear him if he tries to correct him.

In fact, it is better not to correct the imam if we realize that he has misread something, unless the errors means a grave change of meaning, such as replacing a promise of God’s mercy with a threat of punishment.