More than 30 people were injured as houses or walls collapsed in the northwestern city of Peshawar while a over 40 people were taken to hospitals in the city, according to officials.

Pakistan Meteorological Department Director Gen Ghulam Rasool said the quake that struck post midnight was recorded in various districts of Punjab and Khyber Pakhtunkhwa provinces. He said the tremors were felt for about a minute.

"A 6.9 magnitude earthquake was recorded as it epicentre was Afghanistan and its depth was 196 kilometres," he said.