If the Imam stands for an extra fifth rak'ah after having already completed the valid final sitting, the follower must stand with him.

The 18 Excuses for Missing Congregation and Special Follower Cases