Khan's spokesman Dr Shehbaz Gill said that the prime minister has just a slight fever and cough.
Pakistan Meteorological Department's earthquake centre said the 5.8-magnitude earthquake was located near the mountainous city of Jehlum in Punjab province.