Separately , a lecturer at Gaza City 's al-Azhar university was killed when a bomb exploded at his university office .