A magnitude 6.2 quake rocked Indonesia's Lombok on Thursday, with witnesses reporting collapsed buildings, the latest in a series of tremors on the tropical tourist island that have killed more than 150 people in the past two weeks.
It's the third big quake to hit Lombok in little over a week.
It comes just four days after a massive 6.9 magnitude quake shook the region on Sunday, killing 350 people.
The footage of the prayer led by Imam Arafat at the Musholla As-Syuhada Mosque was being broadcast live on Facebook on Sunday night when a magnitude 7.0 natural disaster hit the neighboring Lombok Island.
A humanitarian crisis is also looming in Lombok, where thousands have been left homeless and in desperate need of clean water, food, medicine and shelter.
The aftershock had caused more "trauma", said national disaster agency spokesman Sutopo Purwo Nugroho.
The US Geological Survey has the tremor at a magnitude 5.9.
A strong aftershock has shaken the Indonesian island of Lombok, causing the collapse of several buildings.
Panicked residents fled into the streets, witnesses said.
Indonesia's top security minister, Wiranto, says the death toll from last Sunday's quake on the island of Lombok has climbed to 319.
Almost 1,500 people have been hospitalized with serious injuries and more than 156,000 have been displaced due to the extensive damage to thousands of homes.
Local authorities, global relief groups and the central government have begun organising aid, but shattered roads have slowed efforts to reach survivors in the mountainous north of Lombok, which bore the brunt of the quake.
He also said they're continuing to look for people with untreated injuries.
"I visited villages yesterday that were completely collapsed", he added, while other teams in East and North Lombok had reported villages where 75% of homes were damaged.
The national disaster agency has stood by its latest death toll of 131 from Sunday's quake despite other government agencies including the military reporting much higher figures.
But some evacuees have complained of being ignored or experiencing long delays for supplies to arrive at shelters.
The island is in the West Nusa Tenggara province of Indonesia.
"We lack the infrastructure to perform operations because (they) need to be performed in a sterile place", Wibowo told AFP. Tens of thousands are now sleeping out in the open or in the ruins of their homes.