Rouhani made the remark on Tuesday in an address to an international conference in Tehran on the World Against Extremism and Violence (WAVE).
Condemning terrorists groups, he described it as shameful that some commit various kinds of violence in the name of religion.
The Iranian chief executive calls on the United Nations (UN) to play a more active role in the campaign against terrorism and urged for boosting regional and international cooperation to build a world free of violence.
He urged those states that support Takfiri terrorist groups to renounce violence and terror.
Senior political officials, intellectuals and delegates from 40 Asian, African and South American countries such as Iraq, Syria and Nicaragua are attending the two-day WAVE conference.
Iraqi Foreign Minister Ibrahim al-Jaafari and his Syrian counterpart Walid Muallem are in Tehran to participate in the meeting.
On December 18, 2013, the UN General Assembly overwhelmingly voted to approve President Rouhani’s WAVE proposal, which calls on all nations across the globe to denounce violence and extremism.
The Iranian president had made the proposal in his address to the UN Disarmament Conference in New York on September 25.