US President Joe Biden said negotiators were working urgently to close the deal which Hamas confirmed was “progressing well”.