An earthquake and aftershock struck islands off the north of the Philippines on Saturday killing six people and injuring eight, the national disaster agency said.