Spain is now level on points with Portugal in Group B, while Iran is in third and Morocco now eliminated following their loss earlier in the day.
La Roja spent much of the first 45 minutes in Iran's end--enjoying 81 percent possession in process, but resolute defending from Iran side saw the match deadlocked 0-0 at half-time.
David Silva hooked the ball over the bar after 30 minutes with the best of the very few chances, while Iran failed to find the target on any of their infrequent forays across the half-way line.
Andres Cunha from Uruguay was the referree of the game.
The 2018 World Cup started on June 14 in a ceremony attended by dignitaries from various countries.
Iran got 3 points in its first game on Friday by beating Morocco 1-0.
In its third game, Iran will play with Portugal next week.
in group B, Spain and Portugal have each 4 points and Iran 3 points. Morocco losing its two games has no points.
8072**1771
Follow us on Twitter @IrnaEnglish