The announcement came hours after Trump ordered Israel to stop bombing Gaza after Hamas said it had accepted some elements of his plan.