The executions followed the killing by Israel of three of Hamas’s most senior military commanders, who were hit in an air strike on a house in the southern city of Rafah yesterday.