DONALD Trump's plan to ban visitors from seven Muslim countries is a "a great gift to extremists" and will damage the global fight against terrorism, Iran and Indonesia have warned.

It came after Iran - one of the countries affected - announced it was going to ban Americans from entering in response.

4 President Trump's ban is causing chaos at airports across America Credit: Reuters

4 Iran's Javad Zarif claims the ban will only fuel terrorism Credit: AP:Associated Press

#MuslimBan will be recorded in history as a great gift to extremists and their supporters.1/7 — Javad Zarif (@JZarif) January 28, 2017

Indonesia - which is not one of the countries affected - foreign ministry spokesman Arrmanatha Nasir: "Even though this policy is the United States' authority, Indonesia deeply regrets it because we believe it would affect the global fight against terrorism and the refugees management negatively.

"It is wrong to link radicalism and terrorism with one particular religion."

In a series of damning tweets, Iran's foreign minister Mohammad Javad Zarif said: "#MuslimBan will be recorded in history as a great gift to extremists and their supporters.

"Collective discrimination aids terrorist recruitment by deepening fault-lines exploited by extremist demagogues to swell their ranks."

Trump on Friday signed a sweeping executive order to suspend refugee arrivals and bar visas for travellers from Iran, Iraq, Libya, Somalia, Sudan, Syria and Yemen.

related stories 'NOBODY HAS ANY IDEA WHAT'S GOING ON' Chaos as Donald Trump’s 'Muslim ban' sees mass protests and tearful families with travellers detained at airports... as Federal court rules they CAN'T be sent home 'IT'S DEEPLY TROUBLING' Mo Farah says 'Muslim ban' means he will have to tell his kids 'Daddy may not be able to come home' NO EXCEPTIONS Donald Trump 'Muslim ban' set to hit Brits as it emerges policy applies to ANYONE born in banned countries 'IT FEELS LIKE THE BEGINNING OF THE END' Vet who is UK resident stopped from boarding flight home to Glasgow as FIGHT BACK BEGINS Iran set to ban Americans in response to Trump's barring Muslim travellers from the US 'Silence is complicity' Theresa May blasted after refusing to condemn Donald Trump's ban on Muslims entering US Video oscars BAN Iranian film director nominated for Oscar 'won’t be able to attend ceremony' after Trump issues 'Muslim ban' SHARIA SAVIOUR Lord Carey launches bid to 'rescue' Muslim women trapped in abusive marriages by 'political correctness'

Iran's foreign ministry had earlier released a statement saying it would reciprocate with a ban on Americans entering the country.

But Zarif added that its restrictions would not apply to Americans who already have a valid visa.

"Unlike the US, our decision is not retroactive. All with valid Iranian visa will be gladly welcomed," he wrote.

With more than one million Iranians living in the United States, the travel restrictions are expected to cause chaos for students, businessmen and families travelling between the two countries.

4 Iran's foreign minister declared his country will take their own steps to protect its people

4 Iran has hit back with their immigration ban

Parliament speaker Ali Larijani said the measures were proof of America's "violent racist spirit".

The foreign ministry released a travel advisory, calling on all citizens travelling to the US to "make completely sure" before leaving that they will not face obstacles.

Indonesia - the world's most populous Muslim-majority country - has advised its nationals living in the US to stay alert.

Travel agents in Tehran said Saturday they had been instructed by foreign airlines, including Emirates, Etihad and Turkish Airlines, not to sell US tickets and that Iranians holding American visas were not being allowed to board US-bound flights.

We pay for your stories! Do you have a story for The Sun Online news team? Email us at tips@the-sun.co.uk or call 0207 782 4368