Turkish president on Wednesday called on Greece and other EU countries to comply with the Universal Declaration of Human Rights on the Syrian refugee issue.

"We call on, notably, Greece and all EU countries to respectfully treat the refugees, which came to their territories, in line with Universal Declaration of Human Rights," Recep Tayyip Erdogan said at his party's parliamentary group meeting in the capital Ankara. 

Erdogan slammed Greece by showing a photo displaying the help extended to the Greek people who fled Nazi attacks and took refuge in Syria during World War II.

"One of the Greek boys or girls in this photo is maybe the grandfather or grandmother of [Greek Prime Minister Kyriakos] Mitsotakis," Erdogan said.

"A Greek, who tries every way possible not to accept refugees in its country [...] do not forget that one day he could be [in a situation in which he] seeks compassion," he added.

Last week, Turkish officials announced that they would no longer try to stop irregular migrants from reaching Europe.

Since then, thousands of irregular migrants have flocked to Edirne to make their way into Europe.

The decision was made after 34 Turkish soldiers were martyred by the regime forces in Idlib, northwestern Syrian late February.

Turkey, which already hosts some 3.7 million Syrian migrants, more than any country in the world, says it cannot absorb another refugee wave.

The Turkish soldiers are working to protect local civilians under a 2018 deal with Russia under which acts of aggression are prohibited in the region.

Ankara has repeatedly complained that Europe has failed to keep its promises under the 2016 EU-Turkey refugee deal to help migrants and stem further migrant waves.