The quake struck at 0707 GMT near Afghanistan's northern border with Tajikistan in the Hindu Kush mountains at a depth of 191 kilometres (119 miles), the USGS said.