Hamas is ready to reach a ceasefire in Gaza, a senior official in the Palestinian group said, hailing the ceasefire that took hold in Lebanon.