JERUSALEM, Oct 5 (Reuters) - Israeli police hurled stun grenades to disperse dozens of protesters who threw stones outside the al-Aqsa mosque, Islam's third holiest site, after Friday prayers.

Two people were slightly injured and one person was arrested for attempting to stab a policeman as he was being taken into custody, Israeli police spokesman Micky Rosenfeld said.

The mosque is part of a site revered by Jews as well as Muslims, and is a frequent source of friction between these religious groups. Deadly riots erupted at the same site after a visit by then Israeli opposition leader Ariel Sharon, at the outset of a several year Palestinian uprising in 2000.

Tensions flared this week after police arrested Israeli ultranationalists who tried to hold prayers at the compound, known by Jews as the Temple Mount, as the site of two biblical temples.

That incident occurred during a seven-day Jewish holiday, a time of pilgrimage to the adjacent Western Wall remnant of the second temple destroyed by the Romans in 70 AD, now a focal point of Jewish prayer.

The compound where al-Aqsa stands, which Muslims call the Noble Sanctuary, also houses the golden Dome of the Rock which marks the spot from which the Prophet Mohammad made his night journey to heaven.

Israel captured east Jerusalem in a 1967 war including the walled old city where the holy sites are located, and annexed it as part of its capital in a move never recognised internationally.

Palestinians want that part of the city as capital of a state they seek in Gaza and the occupied West Bank. (Writing by Allyn Fisher-Ilan; Editing by Jon Boyle)

Also on HuffPost:

Loading Slideshow...
  • A Palestinian protester hurls stones at Israeli soldiers, not seen, during a weekly protest against the expansion of the nearby Jewish settlement of Halamish, in the West Bank village of Nabi Saleh near Ramallah, Friday, Oct 5, 2012. (AP Photo/Majdi Mohammed)

  • An Israeli border policeman takes position during clashes with Palestinian worshippers, not pictured, at the Al Aqsa Mosque compound, known by the Jews as the Temple Mount, in Jerusalem's Old City, Friday, Oct. 5, 2012. Earlier this week, hardline Jewish activists were arrested for trying to pray atop the mount. An aide to the Palestinian president said Friday's protest was because of that visit. (AP Photo/Mahmoud Illean)

  • Palestinian protesters run from tear gas during a weekly protest against the expansion of the nearby Jewish settlement of Halamish, in the West Bank village of Nabi Saleh, near Ramallah, Friday, Oct 5, 2012. (AP Photo/Majdi Mohammed)

  • Israeli soldiers walk toward Palestinian demonstrators during a weekly protest against the expansion of the nearby Jewish settlement of Halamish, in the West Bank village of Nabi Saleh, near Ramallah, Friday, Oct 5, 2012. (AP Photo/Majdi Mohammed)

  • Israeli forces take position during clashes with Palestinian worshippers at the Al Aqsa Mosque compound, known by the Jews as the Temple Mount, in Jerusalem's Old City, Friday, Oct. 5, 2012. (AP Photo/Mahmoud Illean)

  • A Palestinian protester runs from tear gas during a weekly protest against the expansion of the nearby Jewish settlement of Halamish, in the West Bank village of Nabi Saleh, near Ramallah, Friday, Oct 5, 2012. (AP Photo/Majdi Mohammed)

  • Palestinian worshippers throw stones toward Israeli forces, not pictured, during clashes at the Al Aqsa Mosque compound, known by the Jews as the Temple Mount, in Jerusalem's Old City, Friday, Oct. 5, 2012. (AP Photo/Mahmoud Illean)

  • Israeli police officers stand guard during clashes in the Old City of Jerusalem, Friday, Oct. 5, 2012. (AP Photo/Sebastian Scheiner)