Thousands of Muslims who came to pray at Al-Aqsa Mosque and the Temple Mount square on Sunday evening celebrated Recep Tayyip Erdogan's victory in the Turkish presidential election.

In a video from the scene, the crowd can be seen chanting: "O Jews…Muhammad's army will return to fight against you."

Hamas also congratulated Erdogan on his victory and said that "this historic victory will be a new starting point for strengthening relations on the Arab and Islamic level and for supporting the Palestinian cause and the Palestinian people's right to freedom, self-determination and the establishment of a Palestinian state on its national land."

Erdogan earlier on Sunday claimed victory over his reformist opponent, economist Kemal Kılıçdaroğlu, after the polls closed across Turkey.

The Turkish Electoral Body announced that with 75.4% of the vote counted, Erdogan leads Kılıçdaroğlu 53.4% to 46.6%.

Erdogan bested Kılıçdaroğlu, the candidate for the secularist Republican People's Party (CHP), in the first vote on May 14, but narrowly failed to clear the 50% threshold needed to win outright, sending the country into a second round of voting.