Israeli security forces shot dead two Palestinians who allegedly attempted an stabbing attack right outside the Jaffa Gate, one of the main entrances to Jerusalem's walled Old City on Wednesday.
Israeli police spokeswoman Luba Samri claimed that the two Palestinians attempted to stab a man and they were killed after Israeli police fired at them.
The Israeli ambulance service said that three people were also wounded in the incident.
Samri said one of the people wounded had apparently been hurt by police gunfire aimed at the Palestinians.
She said the Palestinians were from the occupied West Bank and that local mosques mourned their deaths.
Police investigated a video that had surfaced on social media which appeared to show an Israeli man beating one of the Palestinians who had been shot with a pole, Jerusalem police spokesman Asi Aharoni told Army Radio.
Clashes in and around the compound between Palestinians and Israeli forces often flare as a result of breaches on the compound by settlers, with Palestinians fearing the attempt of the Israeli authorities to gradually judaize the city.
To date, approximately 14,500 Palestinians in Jerusalem have had their residencies revoked by the Israeli authorities since 1967, Israeli Interior Ministry data shows.
Moreover since October 1, over 100 Palestinians have been killed by Israeli forces while about 19 Israelis have been killed in attacks by Palestinians.
Most of the Palestinians killed have been teenagers as young as 12 - some of whom were killed by armed Israeli civilians, and others by Israeli security forces which usually allege the Palestinians were attempting attacks.