Donald Trump has urged Israel to follow through on its apparent decision to bar Democratic congresswomen Ilhan Omar and Rashida Tlaib from visiting the country.

The US president's comments came just before it was announced that the Israeli government had officially decided not to give the two congresswomen permission to enter the country, in accordance with a 2017 law allowing the government to bar people from entering Israel if they had previously supported boycotts against the nation. The two were expected to visit the Al-Aqsa mosque over the weekend.

"It would show great weakness if Israel allowed Rep Omar and Rep Tlaib to visit," Mr Trump tweeted on Thursday morning. "They hate Israel & all Jewish people, & there is nothing that can be said or done to change their minds."

He continued: "Minnesota and Michigan will have a hard time putting them back in office. They are a disgrace!"

Mr Trump's attack on the two women comes amid an ongoing war of words between the three, with rhetoric that has sparked frequent criticism of the president as racist for the way in which he has attacked the two women of colour, alongside representatives Alexandria Ocasio-Cortez and Ayanna Pressley.

Israel launches airstrikes in Gaza Strip Show all 10 1 /10 Israel launches airstrikes in Gaza Strip Israel launches airstrikes in Gaza Strip Fire and smoke rises from a building hit by an Israeli airstrike in Gaza City AFP/Getty Israel launches airstrikes in Gaza Strip Smoke rises above buildings in Rafah in the Gaza Strip following Israeli airstrikes AFP/Getty Israel launches airstrikes in Gaza Strip Palestinians are reflected in a mirror as they stand by the rubble of the office of Hamas chief Ismail Haniyeh after it was hit by an Israeli airstrike in Gaza City Reuters Israel launches airstrikes in Gaza Strip A Palestinian stands by the rubble of the office of Hamas chief Ismail Haniyeh after it was hit by an Israeli airstrike in Gaza City Reuters Israel launches airstrikes in Gaza Strip Palestinian boys watch as others inspect a mosque that was damaged in a nearby Israeli air strike in Gaza City Reuters Israel launches airstrikes in Gaza Strip Palestinians inspect their home after it was damaged in a nearby Israeli air strike in Gaza City Reuters Israel launches airstrikes in Gaza Strip Smoke rises following an Israeli airstrike in Gaza City AP Israel launches airstrikes in Gaza Strip Palestinian men point to an insurance sign amid the rubble of a building destroyed in Israeli airstrikes in Gaza City AFP/Getty Israel launches airstrikes in Gaza Strip Gaza City in the late afternoon on March 25 shortly before Israel launched airstrikes in the city AFP/Getty Israel launches airstrikes in Gaza Strip Fire and smoke rises from a building hit by an Israeli airstrike in Gaza City AP

It also comes months just days after a vote in the House of Representatives opposing the Boycott, Divestment, and Sanctions (BDS) movement, which seeks to force the end of international support for Israel's occupation of Palestinian lands.

The resolution disapproved of BDS tactics, "including efforts to target United States companies that are engaged in commercial activities that are legal under United States law, and all efforts to delegitimize the State of Israel." The measure received overwhelming support in the House, with just 17 voting against it, including Ms Omar and Ms Tlaib.

Support free-thinking journalism and attend Independent events

Even so, the decision by Mr Deri and Mr Netanyahu was quickly criticised by foreign dignitaries on Thursday, including by Dan Shapiro, a former US ambassador to Israel who wrote on Twitter that the decision would hurt Israel's relationship with the US while boosting BDS.

"Original Israeli decision to allow Tlaib/Omar visit was wise. Reversal makes little sense. I disagree with their stands on Israel, have criticised them," Mr Shapiro, who served during the Obama administration, wrote. "But zero harm in letting them come learn, see (even if they had an agenda). Reversal harms Israel's standing in US, boosts BDS."

Before Mr Trump's Thursday tweets, the White House had denied the president had expressed the opinion that Israel should bar the two women from visiting, calling reports to the contrary "fake news".

Ms Tlaib is a US-born congresswoman, and was the first Palstinian-American woman elected into the House of Representatives. Ms Omar is a naturalised US citisen.