Commenting on a number of joint projects between the nations, Putin especially stressed the importance of cooperation to provide security in the Middle East.
Russian Federation and Iran are allies in Syria and the main backers of President Bashar Assad, deploying military forces to help his regime turn the tide against opponents backed by the USA and regional powers in a civil war that's raged since 2011.
"We believe it is by no means justifiable to unilaterally terminate the deal", he said, adding that the agreement has nothing to do with Iran's defense and missile programs.
The presidents of Iran, Russia, and Azerbaijan have called on all parties to the 2015 worldwide nuclear agreement between Tehran and world powers to adhere to their commitments. Trump has threatened to pull out of the nuclear deal, unless its alleged flaws, including what he calls its failure to contain Iran's missile and regional activities, are removed.
U.S. President Donald Trump has lambasted the deal and refused to confirm whether his government will comply with it. Azerbaijani President Ilham Aliyev spoke about Armenia's occupational policy as well as negotiation process between countries. "This cooperation will restore stability in the region", Khamenei said during his meeting with Putin, according to state television.
The presidents also exchanged views on the prospects of closer cooperation in the fields of culture, tourism and sports.
"The leaders are expected to make a joint statement after the summit, which will reflect the key areas of further cooperation between the three countries", the press service said.
The meeting came hours before a Tehran-hosted summit between presidents of Iran, Russia and Azerbaijan to discuss trilateral and regional issues, including the Syrian crisis. Russian state oil producer Rosneft and the National Iranian Oil Co. signed a road map on projects able to produce as much as 55 million tons of crude per year that would require $30 billion of investment, Rosneft CEO Igor Sechin told reporters in the Iranian capital.
The Russian leader pointed out that he was satisfied with the meeting's outcome.