Rouhani made the remark in a Monday phone call to Qatari Emir Sheikh Tamim bin Hamad Al Thani.
In his conversation, the president expressed hope that political cooperation among friendly countries would help maintain stability and security in the sensitive Persian Gulf region, Press TV reported.
US President Donald Trump withdrew Washington in May 2018 from the 2015 Iran nuclear deal with the United States, Britain, France, Russia and China plus Germany and reimposed sanctions on the Islamic Republic.
The US administration also said in a statement on April 22 that, in a bid to reduce Iran's oil exports to zero, buyers of Iranian oil must stop purchases by May 1 or face sanctions. The move ended six months of waivers, which allowed Iran’s eight biggest buyers – Turkey, China, Greece, India, Italy, Japan, South Korea and Taiwan – to continue importing limited volumes.
Noting that Iran welcomes any measures taken to restore calm and tranquility to the region, Rouhani expressed hope that regional problems would be solved through dialogue.
Elsewhere in his remarks, the president said Muslim countries must take all necessary steps to mount pressure on the Zionist regime of Israel and prevent further massacre of Palestinians.
Twenty-seven Palestinians were killed and scores wounded in the recent Israeli airstrikes and tank fire on the besieged Gaza Strip.
“It is necessary for the Islamic countries to prevent massacre of innocent Palestinians through their unity and mounting pressure on the Zionist regime,” the president said.
Rouhani also expressed concern about the current humanitarian situation in Gaza, especially on the eve of the fasting month of Ramadan.
The Qatari emir noted that Doha had frequently told Washington and regional states that differences must be resolved through dialogue and that Qatar is opposed to any measure that would foment insecurity in the region.
He emphasized that Qatar will spare no effort to restore calm to Gaza while condemning measures taken against Palestinians by Israel.