The Hanafi imam says Sami‘a Allahu liman hamidah and the follower responds Rabbana laka al-hamd. For a person praying alone, combining both is the preferred Hanafi report.
Al-Shafi‘i recommends combining the two formulas for both imam and follower. The disagreement concerns how the invocations are distributed among participants.