Portugal has managed to take a lead, after midfielder Ricardo Quaresma scored the first goal. Later, however, Iran managed to equalize, with Karim Ansarifard scoring penalty.
Quaresma was named the man of the match as his side drew 1-1 with Iran and qualified for the round of 16 as Group B runners-up, FIFA said via the tournament's official Twitter account on Monday.
The winner of the match will play against Uruguay from Group A. Portugal will face Uruguay in Sochi on Saturday, while Iran are knocked out of the tournament.
The 2018 FIFA World Cup kicked off on June 14 and will continue until July 15, with the matches being played in 11 cities across Russia.