The goal was fortuitous, with an Iranian defensive clearance hitting Costa and the ball rebounded past the goalkeeper.

The 29-year-old has now scored three goals at the tournament, and is level with Russia’s Denis Cheryshev. Portugal’s Cristiano Ronaldo is currently on course to win the Golden Boot for the World Cup’s top scorer, having netted four times in the space of two games.

Spain and Portugal are currently at the top level of Group B with four points, while Iran are a point further back on three.