Hardline Muslim groups in Indonesia burned photos of US President Donald Trump, as well as US and Israeli flags, on Monday during a protest outside the US embassy against Trump’s decision to recognise Jerusalem as the capital of Israel.

Indonesia, home to the world's largest Muslim population, has joined a global chorus of condemnation of Trump’s controversial move on Israel, which they say threatens security and stability in the Middle East and the world.

The status of Jerusalem, a city holy to Jews, Muslims and Christians, is one of the thorniest barriers to a lasting Israeli-Palestinian peace.

Jerusalem's eastern sector was captured by Israel in a 1967 war and annexed in a move not recognised internationally.

Palestinians claim East Jerusalem for the capital of an independent state that they seek, while Israel maintains that all of Jerusalem is its capital.

Hundreds attended the protest outside the US embassy in Jakarta, which was barricaded by barbed wire and dozens of police officers.

"Let us witness the destruction of Israel's hegemony," one protest leader shouted into a megaphone as protesters burned an Israeli flag. "We will support Palestine with our blood."

Many protesters waved Palestinian flags and carried banners supporting "intifada", or an uprising against Israel, and rally leaders also shouted anti-Semitic slogans.

The protest was led by the Islamic Defenders Front, an aggressive vigilante group that calls for sharia, or Islamic religious law, to be imposed in Indonesia, a secular country.

Palestinians clash with Israeli troops during 'Day of Rage' Show all 18 1 /18 Palestinians clash with Israeli troops during 'Day of Rage' Palestinians clash with Israeli troops during 'Day of Rage' Israeli forces scuffle with Palestinians at Damascus Gate in Jerusalem's Old City AFP/Getty Images Palestinians clash with Israeli troops during 'Day of Rage' A Palestinian protester hurls stones as tear gas is fired by Israeli troops Reuters Palestinians clash with Israeli troops during 'Day of Rage' A Palestinian protester runs during clashes with Israeli troops REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Israeli forces scuffle with Palestinians at Damascus Gate in Jerusalem's Old City AFP/Getty Images Palestinians clash with Israeli troops during 'Day of Rage' Palestinian protesters run during clashes REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Israeli border policemen and a Palestinian protesters clash REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Palestinian protesters react to tear gas REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Israeli border policemen hold on to a Palestinian protester REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Palestinian protesters react to tear gas fired by Israeli troops REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Israeli border policemen and Palestinians scuffle after Friday prayers in Jerusalem's Old City REUTERS Palestinians clash with Israeli troops during 'Day of Rage' A Palestinian protester moves a burning tire during clashes with Israeli troops REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Worshippers chant as they hold Palestinian flags after Friday prayers Reuters Palestinians clash with Israeli troops during 'Day of Rage' A Palestinian protester hurls back a tear gas canister fired by Israeli troops REUTERS Palestinians clash with Israeli troops during 'Day of Rage' A wounded Palestinian protester is evacuated during clashes with Israeli troops REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Israeli border policemen and a Palestinian youth scuffle REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Israeli border policemen detain a Palestinian man REUTERS Palestinians clash with Israeli troops during 'Day of Rage' A Palestinian protester uses a sling to hurl stones towards Israeli troops REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Journalists react to tear gas fired by Israeli troops REUTERS

The demonstration followed a much larger protest at the weekend, where thousands called for diplomatic relations with the United States to be severed and for the US ambassador to be expelled.

Indonesia supports a two-state solution in the Israel-Palestine conflict.