0149 GMT July 23, 2018
'Your last night game was perfect,' Ayatollah Khamenei said, according to IRNA.
The Leader's message was conveyed to the Iranian squad in Russia by his bureau in Tehran over phone.
Iran, which defeated Morocco in its first game in the World Cup, played its second game against Spain – the World Champion in 2010 – in the Russian city of Kazan on Wednesday night.
Despite the magnificent performance of the Iranian footballers, Iran finally lost the game to Spain 1-0.
Iran is scheduled to play its last game in Group B of the competitions against Portugal on June 25.