Israel says it will reinstate a rule banning Muslim men under age 40 from a mosque at Jerusalem's most sensitive holy site as a measure to ensure calm during an upcoming Jewish holiday.

The hilltop compound known to Jews as the Temple Mount and known to Muslims as the Noble Sanctuary has been a flashpoint for violence in recent days.

Police said security will be beefed up and Muslim men under age 40 will be banned from the compound's Al-Aqsa mosque for the 25-hour Yom Kippur fast starting at sundown Tuesday. It coincides with the Muslim Eid al-Adha holiday, also known as the Festival of Sacrifice.

The ban has been put in place intermittently after protests where mostly younger Palestinians throwing rocks clashed with police at the compound and elsewhere.