President-elect Donald Trump, who warned of ‘hell to pay’ if hostages were not released before he took office, has swiftly claimed credit for the ceasefire agreement between Israel and Hamas.