Now tied on points and goal difference with fellow leaders Portugal, the Roja know they will have to better Ronaldo's men's result to take top spot, as the Selecao play simultaneously against Iran. A draw against Morocco will be enough to take them into the last 16, while Iran - who performed brilliantly - must now beat Portugal to progress.
Kick-off is 7pm Nigerian time.
Iran, making their fifth appearance in the World Cup final, face Cristiano Ronaldo's Portugal in Saransk five days later.
It happened in the dying seconds of his nation's 1-0 defeat to Spain.
Iran, though, did not lie down as other teams have done in this World Cup, instead laying into Spain with everything they had.
David Silva sent a free kick straight into the arms of keeper Ali Beiranvand in the 25th minute for Spain's first shot on goal. The decision was a dagger to Iran's hopes of pulling off the upset.
Salman Khan starrer Race 3 earns Rs 181 crore globally
The lower weekday numbers can be justified by the negative reviews and the bad word of mouth Race 3 has received from the public. Unaffected by the criticism coming its way, Race 3 continues to do a "healthy" business on day 5 as well.
Deep into stoppage time and with his side needing a goal to claim a famous draw against 2010 world champions Spain, Mohammadi picked up the ball in the opposition half.
But the thousands of Iranian supporters that filled the stadium with the sound of vuvuzelas throughout were left disappointed when it was ruled out for offside.
Spain could not managed to get a second despite their best efforts while Iran nearly scored an equaliser when Mehdi's powerful header hit the crossbar. Sardar Azmoun starts up top for Iran. The match is the opening game on Day 7 of the FIFA World Cup in Russian Federation.
The FIFA World Cup 2018 Iran vs Spain match can be live streamed on Sony Liv in India.
Iran failed to attempt a single shot on target in this match - the first time that they have failed to do so in a World Cup game (14 games overall).
New Spain boss Fernando Hierro, will be confident that those mistakes will not be repeated again, at that Spain can get their campaign back on track with a victory.
David Silva also showed moments of class in the game against Portugal, seemingly never losing possession and keeping Spain's passing game going in midfield.