Ismail Haniyeh was Hamas's most prominent leader until his death in July.