“This farce must be stopped,” they wrote. “We won’t stand for Amman being used to promote the Zionist enemy.”

Responding to the outcry, the RFC released a statement saying it had approved the production of an American – and not an Israeli – film in Amman.

It is unclear whether the filming was for a Netflix series or film.

While Jordan maintains diplomatic relations with Israel, most in the country are hostile to the state.

The creation of Israel in 1948 and the subsequent annexation of the West Bank was cataclysmic for Jordan, which was part of a defeated Arab coalition and received hundreds of thousands of Palestinian refugees.

The descendants of those displaced from historic Palestine now comprise a significant proportion of Jordan’s population.

Amman residents told Sky News that several different streets had been used as filming locations for the Netflix production.

One witness said Rainbow Street, a lively city centre location known for its bars and restaurants, had been closed for most of the day on Friday and there were people dressed as soldiers and “stock-figure refugees”.

Some residents speculated that Amman may have been chosen for filming because of cheaper costs compared to the Israeli capital.

Netflix – which is yet to comment on the production controversy – announced in August that it would begin shooting its first Arabic original series in Amman.

Jinn is a six-episode coming-of-age supernatural drama that is expected to be released on the streaming service next year.