In FIFA World Cup 2014, if the United States and Germany had both advanced to the final, then they would have played each other twice. This didn't happen.
But has it ever happened, that in the same World Cup, two teams have played each other both in the group stage and again in the knockout rounds?