Hamas handed over four dead hostages to the Red Cross in exchange for Israel’s release of hundreds of Palestinian prisoners, days before the first phase of the ceasefire in the Gaza Strip will end.