Palestinians and Israeli security forces have clashed in Jerusalem's flashpoint Al-Aqsa mosque compound and the surrounding Old City for a third straight day despite international calls for calm.
Young demonstrators gathered around the mosque threw stones at police who had entered the compound in large numbers and responded with stun grenades.
Police said they cleared debris from the entrance of the mosque and closed the door on those inside who had been throwing stones, fireworks and other objects at security forces.
The Jordanian organisation that administers the site, the Waqf, said that police entered deep inside the mosque and caused damage.
The new flare-up came despite calls for restraint from both the United Nations and the United States, and a warning from Jordan, which has custodianship rights over Muslim holy places in Jerusalem under its 1994 peace treaty with Israel, that relations were on the line.
The protesters fear Israel is seeking to change rules governing the site which allow Jews to visit but not pray, although Prime Minister Benjamin Netanyahu has said the status quo will be preserved.
The site is the third-holiest in Islam but also venerated by Jews as the Temple Mount.
According to Israeli police, youths barricaded themselves inside the mosque overnight as they had over the two previous days with the aim of disrupting visits by Jews to the compound.
Masked protesters threw stones towards the gate when regular visits to the site began on Tuesday morning (local time), police said.
After security forces entered the compound, "masked assailants fled inside the mosque and began throwing dozens of stones" and other objects, including fireworks, police said.
There were at least four arrests, while clashes also broke out in the Old City surrounding the compound. Limited visits to the site were later allowed to go ahead.
The Palestinian Red Crescent said 26 people were wounded, of whom two were hospitalised. Israeli police said five officers were lightly injured.
Police spokeswoman Luba Samri said security forces shut the door on protesters inside the mosque in a tactic they have used in the past to restore calm.
Previous such incidents have seen police briefly enter the mosque to shut the door.
"Police forces did not penetrate into the interior of Al-Aqsa mosque," Samri said in a statement.
Waqf spokesman Firas al-Dibs said "police stormed the Al-Aqsa mosque and went inside" as far as the minbar, or imam's pulpit. He said police fired rubber bullets and stun grenades that caused fires.