A senior Hamas official has expressed the group's desire to reach a ceasefire agreement in Gaza as swiftly as possible.