Officials on both sides, while stopping short of confirming that a final draft had been reached, described progress at the talks.

A senior Israeli official said a deal could be sealed within a few days if Hamas replies to a proposal. A Palestinian official close to the talks said information from Doha was “very promising”, adding: “Gaps were being narrowed and there is a big push toward an agreement if all goes well to the end.”

Trump’s Jan. 20 inauguration is now widely seen in the region as a de facto deadline. The president-elect has said there would be “hell to pay” unless hostages held by Hamas are freed before he takes office, while outgoing President Biden has also pushed hard for a deal before he leaves.