A senior Hamas official told AFP on Thursday that the group had told Egyptian officials it was ready to stop fighting in Gaza if Israel committed to a ceasefire deal.