The militant group Hamas is expected to release the names of three hostages it will exchange for Palestinian prisoners this weekend, after it expressed its commitment to a ceasefire with Israel.