A Saudi-hosted Islamic summit on Saturday threw its support behind Palestinians ahead of a US-led peace plan suspected to be skewed in favour of Israel, as Muslim states rallied around Saudi Arabia over tensions with Iran.
The Organisation of Islamic Cooperation (OIC) meeting, the third and final Iran-focused summit in the holy city of Mecca this week, denounced US moves to transfer its embassy to Jerusalem and recognise Israel's sovereignty over the Golan Heights.
The summit of the 57-member bloc, marked by the notable absence of Iranian and Turkish leaders, called for a "boycott" of countries that have opened diplomatic missions in the city.
Trump broke with decades of bipartisan policy to recognise Jerusalem as the capital of Israel in December 2017, a move rejected by the majority of the members of the United Nations.
The OIC's statement comes as Trump's son-in-law Jared Kushner prepares to roll out economic aspects of his long-awaited Middle East peace plan at a conference in Bahrain later this month.
The plan, which has been heavily talked up by Trump and dubbed his "deal of the century", has already been rejected by the Palestinians, who say the president's policies have shown him to be overwhelmingly biased in favour of Israel.
The Palestinians consider the eastern part of Jerusalem as the capital of their future state.
Kushner, who was in Jerusalem on Friday on the latest leg of a regional tour to sell the plan, had looked to an alliance with Saudi Arabia against Iran as a way to gain Arab support.
But Saudi King Salman told leaders of the OIC countries gathered at the summit: "The Palestinian cause is the cornerstone of the works of the Organisation of Islamic Cooperation, and is the focus of our attention until the brotherly Palestinian people get all their legitimate rights.
"We reaffirm our unequivocal rejection of any measures that would prejudice the historical and legal status of Quds (Jerusalem)."
The OIC also backed Saudi Arabia in escalating tensions with Iran, as King Salman warned that "terrorist" attacks in the Gulf region could imperil global energy supplies.
The remark came after sabotage attacks damaged four vessels, two of them Saudi oil tankers, off the UAE and twin Yemeni rebel drone attacks shut down a key Saudi oil pipeline.
"We confirm that terrorist actions not only target the kingdom and the Gulf region, but also target the safety of navigation and world oil supplies," the king told Muslim leaders.
Tehran has strongly denied involvement in any of the incidents.
In a tweet just before the start of the summit, the king vowed to confront "aggressive threats and subversive activities".
"Undermining the security of the kingdom effectively undermines the security of the Arab and Islamic world," said OIC Secretary General Yousef bin Ahmed al-Othaimeen, voicing solidarity that was shared by other members.
In back-to-back summits on Friday, Gulf and Arab allies similarly threw their support behind Saudi Arabia, which drew accusations from Iran of "sowing division".
The summits came after Trump's hawkish National Security Advisor John Bolton said Wednesday that Iranian naval mines were "almost certainly" responsible for the damage to the four ships off the United Arab Emirates on May 12.
The findings of a five-nation inquiry into what happened have yet to be released.
Tehran dismissed Bolton's accusation as "laughable" and accused him of pursuing "evil desires for chaos in the region".
Regional tensions have risen sharply since US the Trump administration reimposed crippling unilateral sanctions against Iran, after he abandoned a landmark 2015 nuclear deal between major powers and Iran in May last year.
But Trump has appeared to soften his tone towards Tehran, saying that his government does not seek "regime change".
Turkey's President Recep Tayyip Erdogan was notably absent from the key OIC summit, an AFP photographer said.
A regional heavyweight, Turkey -- which maintains close ties with Iran -- was instead represented by Foreign Minister Mevlut Cavusoglu.
Iran's President Hassan Rouhani was also not present but sent a representative to the talks, an AFP reporter said.
*This story was edited by Ahram Online