President Donald Trump's revised immigration ban targets the same seven countries listed in his original executive order, a draft shows.

It exempts travellers who already have a visa to travel to the US, even if they have not used it yet, as well as green-card holders and dual citizens of the United States and the seven countries.

A senior administration official said the order, which Mr Trump revised after courts held up his original immigration and refugee ban, will again target Iran, Iraq, Syria, Yemen, Somalia, Sudan and Libya.

The new draft no longer directs authorities to single out - and reject - Syrian refugees when processing new visa applications.

The official said the draft is subject to change before it is signed, which Mr Trump said could come sometime this week.

Asked about the revised order, White House spokeswoman Sarah Huckabee Sanders said the document circulating was a draft and that a final version should be released soon.

The president's original executive order triggered chaos at airports around the world, as travellers were detained when the order rapidly went into effect, US permanent residents known as green-card holders among them.

Lawyers provided legal assistance to those held and protesters descended on the airports as news of the order's implementation spread.

In its original form, the order temporarily suspended all travel to the US for citizens of those seven Muslim-majority countries for 90 days.

Even if Syrian refugees are no longer automatically rejected under the new order, the pace of refugees entering the US from all countries is likely to slow significantly.

That is because even when the courts put Mr Trump's original ban on hold, they left untouched his 50,000-per-year refugee cap, a cut of more than half from the limit under the Obama administration.

Earlier this month, a court in San Francisco refused to reinstate Mr Trump's ban, unanimously rejecting the administration's claim of presidential authority, questioning its motives and concluding the order was unlikely to survive legal challenges.

That prompted Mr Trump to tweet "SEE YOU IN COURT!" and he has since lashed out at the judicial branch, accusing it of issuing a politically motivated decision.

Homeland Security Secretary John Kelly said on Saturday that Mr Trump is working on a "streamlined" version of his executive order banning travel from the seven nations to iron out the difficulties that landed his first order in the courts.

Speaking at a Munich conference on combating terrorism, Mr Kelly said Mr Trump's original order was designed as a "temporary pause" to allow him to "see where our immigration and vetting system has gaps - and gaps it has - that could be exploited".

Mr Trump's order sparked an immediate backlash and sowed chaos and outrage, with travellers detained at airports, panicked families searching for relatives and protesters marching against the sweeping measure.

Protests were held across the country, including in sight of the Statue of Liberty and Ellis Island in New York City, and at international airports where travellers were temporarily detained.

More than a thousand people of various faiths rallied in New York City on Sunday in support of Muslim Americans and to protest against Mr Trump's immigration policies.

The "I Am A Muslim Too" rally was held in Times Square, and protesters waved American flags, held signs saying "No Muslim Ban," and chanted "We are One".

Democratic Mayor Bill de Blasio spoke at the peaceful rally, saying "we have to dispel the stereotypes" and that America is "a country founded to protect all faiths and all beliefs."

There was also a rally in Salem, the state capital of Oregon, and a large demonstration in Los Angeles on Saturday.