Women cool themselves down in a stream of water as Palestinians gather for the Friday prayer at Al Aqsa mosque in Jerusalem on May 31. — AFP
Despite a heavy police presence, there were no reports of further incidents.
Rosenfeld said increased security presence would “continue throughout the afternoon and evening.”
Take a look: Jerusalem — city of prayer and conflict
The Al-Aqsa mosque compound is a key religious and political symbol for Palestinians. It is also sacred for Jews, who refer to it as the Temple Mount.
The attack came just two days before Israelis hold a major march to mark Jerusalem Day, the annual commemoration of the capture of east Jerusalem in the Six-Day War of 1967. It was later annexed in a move not recognised by the international community.
In December 2017, US President Donald Trump broke with decades of bipartisan policy to recognise Jerusalem as Israel's capital in a move that prompted the Palestinians to cut all contacts with his administration.
Israel insists the whole of Jerusalem is its “eternal, indivisible capital”. The Palestinians demand the city's eastern sector as the capital of their long promised state.
Trump's gift
On Thursday evening, Trump's son-in-law and adviser Jared Kushner met Israeli Prime Minister Benjamin Netanyahu in Jerusalem as part of a Middle East tour before Washington unveils its long-awaited plan for Israel-Palestinian peace.
Kushner, accompanied by Trump envoy Jason Greenblatt, arrived in Jerusalem after earlier stops in Morocco and Jordan.
He is a key architect of the peace plan that the White House says it intends to present in the coming weeks.
Read next: Does Kushner really believe Palestinians will trade their dignity for cash?
But the plan, previously delayed for an Israeli general election on April 9, could face further postponements due to Israeli politics.
Israel is set to hold another general election in September after Netanyahu failed to form a coalition government, and the plan is widely seen as too sensitive an issue to introduce during a political campaign.
The Palestinian leadership has rejected the peace plan without seeing it, saying Trump has shown himself to be blatantly biased in favour of Israel.
They cite moves including declaring the disputed city of Jerusalem Israel's capital and cutting hundreds of millions of dollars in Palestinian aid.
Trump has also handed Netanyahu other diplomatic coups, notably US recognition of Israel's 1981 annexation of the strategic GolanHeights captured from Syria in the Six-Day War.
On Thursday, Kushner delivered Netanyahu a gift from Trump, a map of Israel signed and approvingly annotated by the US president showing the Golan as inside the Jewish state's borders.