The two leaders also deliberated on the regional situation during wide-ranging talks, with both asserting that there was a need for a peaceful, stable, prosperous and a pluralistic Afghanistan.
Addressing a joint press event with Rouhani, Modi said the two countries want a terror-free world and they were committed to stopping the expansion of those powers which encourage terrorism, extremism, drug trafficking, cyber crimes and other international crimes.
The Iranian leader also said that regional conflicts must be resolved through diplomacy and political initiatives, but did not specifically name any regional dispute.
The two sides also inked nine pacts, which included lease contract between Iran's Port and Maritime Organization and India's Ports Global Limited (IPGL) to take over operation of existing facilities at the Shahid Beheshti Port -- Phase 1 of Chabahar -- for 18 months.
Also Read
Other pacts included avoidance of double taxation and the prevention of fiscal evasion with respect to taxes on income, ratification of extradition treaty, exemption from visa requirement for holders of diplomatic passports, traditional systems of medicine and establishment of an expert group on trade remedy measures.
Modi said the visit by the Iranian president shows how the two sides want to deepen cooperation in key areas, including connectivity, and described the strategically-important Chabahar as a "golden gateway", development of which will help in reaching out to land-locked Afghanistan and central Asia.
The prime minister also appreciated the way the Iranian leader provided leadership in developing the Chabahar Port.
Noting that they had "positive talks" on tariff-related issues and banking relations, Rouhani said,"We have decided to expand cooperation in natural gas and petrochemical sector."
In the morning, External Affairs Minister Sushma Swaraj called on Rouhani and discussed various issues with him.
Disclaimer: No Business Standard Journalist was involved in creation of this content