A strong quake hit Indonesia's Lombok island on Thursday, causing some buildings to collapse.
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.
It is the third quake to hit the island in under two weeks.
Volunteers and rescue personnel have erected more temporary shelters for the tens of thousands left homeless on the island.
According to Indonesia's meteorological agency, Thursday's natural disaster struck at a depth of 12.5 miles, originating several miles northwest of Lombok.
A Reuters witness said the latest quake sent people into the streets in panic and caused buildings to collapse.
The U.S. Geological Survey measured the quake at magnitude 5.9.
"I visited villages yesterday that were completely collapsed", he said, while other teams in East and North Lombok had reported villages where 75 percent of homes were damaged.
Tesla board confirms it will consider Musk's privatization plan
Some Wall Street analysts are skeptical of Musk's ability to gather the financial backing to complete such a deal. Board members said that Tesla boss Elon Musk and had held several meetings about the move in the past week.
There are fears that two collapsed mosques in north Lombok had been filled with worshippers.
It further weakened any buildings still standing on the island in the wake of Sunday's 7.0 quake, and a 6.4 quake on July 29 that killed 16, complicating rescue operations.
Evacuees in some encampments say they are running out of food, while others are suffering psychological trauma after the powerful quake, which struck just one week after another tremor surged through the island and killed 17.
Authorities made announcements over loudspeakers at evacuation sites, urging people to remain calm and stay inside tents or find open space if they were inside or near buildings.
But Mr Sutopo said some areas in the north had still not received any aid.
The Indonesian Red Cross said it's focusing its relief efforts on an estimated 20,000 people in remote areas in the island's north where aid still has not reached.
Kurniawan Eko Wibowo, a doctor at the field hospital, said most patients had broken bones and head injuries.