The U.S. leader has been pushing to get a deal between Israel and the Palestinian militant group Hamas before he leaves office on January 20 and hands over to Donald Trump.