A top Iranian official has condemned Saudi officials’ anti-Iran rhetoric, and referred to the kingdom as “the center of exporting terrorism”.

“That the U.S. president has announced that he has taken money from Saudi government to partake in the [Islamic American] meeting is interesting,” Iranian Parliament Speaker Ali Larijani said on Tuesday.

Larijani noted that it is strange that the Saudis and Americans depict themselves as the frontiers of fighting terrorism, adding that the Saudis have been behind every terrorist group that was created.

The comments came after U.S. President Donald Trump’s visit to Saudi Arabia, during which he clinched a $110 billon military deal with Riyadh.

Iranian President Hassan Rouhani also dismissed Trump’s visit to Saudi Arabia, saying the visit had no “practical or political value”.

“You can't solve terrorism just by giving your people's money to a superpower,” Rouhani said.

According to Press TV, Iranian Foreign Ministry spokesman Bahram Qassemi called on the U.S. government to abandon its “warmongering policy, intervention, Iranophobia and sales of dangerous and useless weapons to the main sponsors of terrorism.”

“Unfortunately, under the hostile and aggressive policies of the American statesmen, we are witnessing a renewed strengthening of terrorist groups in the region and miscalculation of the dictatorships which support these groups,” he added.