Tremors were felt in Chitral, Battkhela, Bunir, Swat, Shangla, Malakand, Dir and Swabi districts among other areas of the province.
Omer Mohammadi, a spokesman for Afghanistan's disaster management authority, said two small children were injured when their home collapsed and one of them was listed in critical condition.
According to initial details, the quake of intensity 6.4 was felt in Lahore, Faisalabad, Okara, Sargodha, Islamabad, Rawalpindi, Jhang, Chinniot, Murree, Narowal, Chitral, Wazirabad. No loss of life or property was reported in the quake.
AFP correspondents in the capital Kabul felt the ground move for at least a minute in the second quake that came a few hours after the first. In Pakistan, at least 276 people had perished in the calamity.
Afghanistan is frequently hit by earthquakes, especially in the Hindu Kush near the junction of the Eurasian and Indian tectonic plates.
A magnitude 7.6 quake in 2005 killed thousands of people in Pakistan and Kashmir, which is split between Pakistan and neighboring India.