Israeli Prime Minister Benjamin Netanyahu and transitional Syrian President Ahmed al-Sharaa have agreed to a ceasefire.