Islamabad: A 5.9-magnitude earthquake Thursday rocked many parts of northern and central Pakistan, leaving at least three persons injured in Peshawar city.