As the death toll in the war-torn Gaza Strip pushed over 2,000, Egyptian negotiators were pressing both sides to reach agreement before a midnight deadline which will mark the end of a five-day truce.
The warring parties have less than three hours left to either reach an agreement, accept a further extension or risk a resumption of the fighting which has wreaked destruction across the densely populated Mediterranean coastal enclave.
As millions in and around Gaza enjoyed an eighth day of calm brought on by two back-to-back truces, tensions were once again on the rise over fears the fighting could start again.
But a senior member of the Palestinian delegation insisted there had been "progress", with both sides demonstrating "a great degree" of flexibility.
More From This Section
"The Egyptians have submitted a draft that was met with a great degree of flexibility by both sides, the Israelis and Palestinians. There has been progress," he told AFP, speaking on condition of anonymity, saying the draft adopted the Palestinian demands, including that of an "airport and (sea) port".
As the midnight deadline neared, Prime Minister Benjamin Netanyahu warned that Israel would hit back hard if Palestinian rocket attacks from Gaza resume.
"We are ready for all scenarios... The army is preparing for a very strong response if the firing (of rockets) resumes," he said.
"In the turbulent Middle East, you need a mixture of force and patience and the IDF (army) has a lot of both."
Ahead of the deadline, Palestinian president Mahmud Abbas was travelling to Doha for talks with exiled Hamas chief Khaled Meshaal and the Qatari emir.
As diplomatic efforts intensified, Gaza's health ministry said the death toll from the fighting rose above 2,000 as more people died of their wounds.
The figures showed 2,016 people had been killed and 10,196 wounded.
Among the dead were 541 children, 250 women and 95 elderly men.
Separately, the Israeli army confirmed that five of its 64 dead soldiers were killed by "friendly fire".