Two earthquakes in the mountainous northern Afghanistan have triggered a massive landslide that buried up to 30 houses, leaving around 100 people dead, according to provincial officials.

The quakes - of 5.4 and 5.7 magnitude - triggered a slide of mud and rocks down on the remote settlement.

Rescue workers with bulldozers were struggling to reach the affected village in Baghlan province, which was recently hit by a flood, causing the few connecting roads to be washed out.

"We don't think we will be able to take out the other bodies," Governor Abdul Majid said. "We will hold a prayer for the victims."

"The village has been buried in the landslide," he said. "We believe that between 50 to 100 people have died. We can't give an exact number now. Things will be clearer by late evening."

The U.N. said in a statement that it was working with local authorities to try to help in the rescue effort but did not provide details.

Both earthquakes were felt as far away as the Afghan capital, Kabul.

Baghlan province's Burka district is a remote collection of mountain villages.

Part of a mountain in the Hindu Kush range fell into a valley after the quake struck.