ISTANBUL - Turkey will declare three days' mourning over a deadly strike on a hospital in war-torn Gaza that killed hundreds, a Turkish official told AFP on Wednesday.

Turkish President Recep Tayyip Erdogan, a fervent supporter of the Palestinian cause, has accused Israel of "striking a hospital sheltering women, children and innocent civilians" and urged the world to stop the tragedy in Gaza.

Israel and Palestinian militants have accused each other of the attack.

"Turkey will declare three days national mourning," the official who wished to remain anonymous told AFP.

Ozlem Zengin of Erdogan's ruling AKP party said that the national mourning would be declared under a presidential decree.

Protestors shout slogans during a demonstration to show solidarity with the Palestinian people, after Friday prayers in Istanbul on October 13, 2023. (UMIT TURHAN COSKUN/AFP)

"It is important to show at what level we perceive this issue," she was quoted as saying by the private NTV brodcaster.

Erdogan on Tuesday condemned the strike as "the latest example of Israeli attacks devoid of the most basic human values", in a message on social media.

Large crowds joined the demonstrations in Istanbul and the Turkish capital Ankara, shouting pro-Palestinian chants.

Israel has told its citizens to leave Turkey "as soon as possible" amid fears of reprisal attacks.