Palestinians hurled stones and Israeli police fired rubber-coated bullets at a major Jerusalem holy site early Friday that has seen waves of unrest in recent weeks.

The police say Palestinians inside the Al-Aqsa Mosque compound began hurling stones and fireworks around dawn in the direction of a heavily guarded gate that leads to the Western Wall, the holiest place where Jews can pray. The police advanced into the compound, firing rubber-coated bullets.

The violence ended around an hour later after other Palestinians in the compound intervened, convincing the stone throwers and the police to pull back.

ISRAEL SHUTTERS CROSSING TO GAZA WORKERS AFTER FIRING OF ROCKETS

The Palestinian Red Crescent emergency service said more than 40 people were wounded, with 22 requiring treatment at local hospitals. It said Israeli forces prevented first responders from entering the compound during the clashes, and that one of its medics was beaten by police.

Israeli forces clashed with Palestinians who threw rocks, at the Masjid al-Aqsa in the Old City of East Jerusalem on April 29, 2022. (Photo by Mostafa Alkharouf/Anadolu Agency via Getty Images)

Israeli forces clashed with Palestinians who threw rocks, at the Masjid al-Aqsa in the Old City of East Jerusalem on April 29, 2022. (Mostafa Alkharouf/Anadolu Agency via Getty Images)

The police did not immediately respond to a request for comment, but said in a statement they had arrested three people.

The Al-Aqsa Mosque compound is the third holiest site in Islam. It is built on a hilltop that is the most sacred site for Jews, who refer to it as the Temple Mount because it was the location of the Jewish temples in antiquity. It has long been a flashpoint in the Israeli-Palestinian conflict.

Israeli forces clashed with Palestinians who threw rocks, at the Masjid al-Aqsa in the Old City of East Jerusalem on April 29, 2022. (Photo by Mostafa Alkharouf/Anadolu Agency via Getty Images)

Israeli forces clashed with Palestinians who threw rocks, at the Masjid al-Aqsa in the Old City of East Jerusalem on April 29, 2022. (Mostafa Alkharouf/Anadolu Agency via Getty Images)

In recent weeks, Israeli police and Palestinians have clashed there on a number of occasions. Israeli authorities accuse the Hamas militant group ruling Gaza of inciting violence and say security forces were forced to intervene to halt stone-throwing.

The Palestinians say the presence of Israeli police at the site, and regular visits by increasing numbers of nationalist and religious Jews, are a violation of decades-old informal arrangements governing the site. The visits were halted last week for the last 10 days of the Muslim holy month of Ramadan, which concludes this weekend.

CLICK HERE TO GET THE FOX NEWS APP

Tens of thousands of Muslims are expected to attend the main Friday prayers at midday. Earlier this week, an estimated 250,000 worshippers gathered at the site for Laylat al-Qadr, a night of intense prayers that marks the culmination of Ramadan, with no reports of violence.