In a phone conversation with his Pakistani counterpart Mamnoon Hussain on Saturday, Rouhani congratulated him on Eid-ul-Fitr.
He pointed to the recent nuclear deal, saying that Iran's deal will benefit all the neighbors and the entire region.
The president said that Iran's deal underlines that with good-will, even the most intricate problems can be solved on the table.
The Pakistani president, for his part, expressed satisfaction over the comprehensive deal on Iran's nuclear program, saying that the deal will definitely benefit both Iran and Pakistan, and the entire region, making it possible for Tehran to enjoy further economic progress.