Hamas said it was ready to negotiate the next phase of the ceasefire in the Gaza Strip after a hostage-prisoner exchange.