A magnitude-5.1 earthquake jolted Tonga Islands at 2215 GMT on Saturday, the GFZ German Research Centre for Geosciences said.