Donald Trump gave Hamas until Sunday to agree to a deal that gives the U.S. president sweeping power over Gaza.