ISLAMABAD: According to National Seismic Monitoring Centre, 5.2 magnitude earthquake on Thursday shook parts of Khyber Paktunkhwa, Islamabad and Rawalpindi.