The agreement followed a meeting between Iraqi Prime Minister Ali al-Zaidi and Turkish President Tayyip Erdogan on the sidelines of the UN General Assembly, the two leaders said in a joint statement.