Although Washington and Tehran were still a long way from normalising their relations, Obama reached an accord to lift sanctions in return for Iran curbing its nuclear programme, which Trump repeatedly slated as "the worst deal ever signed". "I hope it can settle so that we can have a better judgement about those in Washington", Mr Rouhani said.
"The Americans do not know our religion, that's what the catch is", Rouhani said in response to a question from AP. Then make it. Don't tell us one thing and hope we really understand the subtext.
Youth make up the majority of most Middle Eastern countries, and they face a bleak socio-economic future, with youth unemployment hovering around 30 percent.
Bruce Riedel, a senior fellow at the Brookings Institution in the Center for Middle East Policy, noted that Saudi Arabia is a "police state" among the "most repressive" of free speech in the Middle East.
Rouhani further criticized the Saudi summit that Trump attended on Sunday, describing it as a "show-off" that "will not have any political and practical values".
The president added that "the issue of terrorism can not be solved through giving money to superpowers". Rouhani also pointed out that in Iraq, Syria and Lebanon he has faced terrorism and the Iranian people supported and back those countries by sending diplomats and military advisers. "Who can say the region will experience total stability without Iran?" he said.
Rouhani decisively won a presidential election on Friday, securing another four-year term.
"Doubling down on Saudi Arabia has a lot to do with trade and investment considerations". "They should have polling stations in place for the people and let the rulers not be on a hereditary basis".
In early 2013, about 160 people were arrested by Saudi security forces after they protested other jailings in the country.
He leaned heavily on concerns over Iran's destabilizing activities in the region during his two-day visit to Saudi Arabia, Tehran's long-time foe.
However, Rohani's power to implement policy is limited because under Iran's theocratic system, Supreme Leader Ayatollah Ali Khamenei, has final decision-making authority. That's when Saudi Arabia executed a prominent Shiite cleric and protesters in Iran attacked two of the kingdom's diplomatic posts.
Trump has threatened to try to renegotiate the deal.
Arriving directly from Riyadh, Saudi Arabia, Trump expressed his hope for cooperation among USA allies in the Middle East.
"No one has the right to confiscate the revolution", said Rouhani, boosted by his election victory.
"I think it's in our national security interest to advocate for democracy and freedom and human rights, now, with a recognition that you may not get it overnight", he said. He says the Islamic Republic still is waiting to understand what the Trump administration wants.
"That may be not necessarily because they don't have those feelings there, but because they control people and don't allow to them to come and express their feelings quite the same as we do here", CNBC anchor Becky Quick cut in.
Thanks for your continued support..
Trump told his audience of autocrats: "We are not here to lecture you".