Hamas released 25 Israeli hostages and the bodies of eight more in exchange for nearly 2,000 Palestinian prisoners in the first, 42-day phase of the ceasefire, which ended on Saturday.