The prime minister of Qatar, a key mediator, said the agreement will come into effect on Sunday. The Israeli cabinet still has to ratify the deal and some details remained unresolved.