A magnitude 6.2 earthquake struck near the western coast of Indonesia's Sumatra Island on Friday, damaging homes, injuring several people, and shaking buildings in neighboring Singapore and Malaysia.

The quake, which struck at 8:39 a.m. local time, was on land at a depth of 10 km (6.21 miles), BMKG, the country’s Meteorological, Climatological, and Geophysical Agency wrote on Twitter. 

Dwikorita Karnawati, the head of BMKG noted that there was no danger of a tsunami, though she warned of possible aftershocks, Reuters reported

"We continue to monitor and advise people to remain on alert," Karnawati told MetroTV. "Because this is on land, and the scale is above 6, we are concerned that it could cause some damage."

7.3 UNDERSEA QUAKE IN INDONESIA TRIGGERS TSUNAMI WARNING

A magnitude 6.2 earthquake struck near the western coast of Indonesia's Sumatra Island on Friday local time

A magnitude 6.2 earthquake struck near the western coast of Indonesia's Sumatra Island on Friday local time (USGS)

The earthquake sent panicked people into the streets in Padang, the capital of West Sumatra province, television reports showed. Patients at a hospital in the West Pasaman district, about 10.5 miles from the epicenter, were being evacuated. 

This picture shows a damaged house after a 6.2 magnitude earthquake in Kajai village, West Pasaman on February 25, 2022. 

This picture shows a damaged house after a 6.2 magnitude earthquake in Kajai village, West Pasaman on February 25, 2022.  (Idenvi Susanto/AFP)

Hamsuardi, the West Pasaman district head, said the earthquake caused minor to moderate damage to dozens of houses and buildings and injured several people, but no deaths were reported.

MEXICO HIT BY EARTHQUAKE EAST OF ACAPULCO, ‘PEOPLE ARE WORRIED’

Authorities are still determining the full scale of the damage.

Primary school students evacuate from a school building after a 6.2 magnitude earthquake in Sumatra Island, Indonesia, on February 25, 2022

Primary school students evacuate from a school building after a 6.2 magnitude earthquake in Sumatra Island, Indonesia, on February 25, 2022 (Antara Foto/Iggo El Fitra via Reuters)

Indonesia suffers frequent earthquakes because of its location on the "Ring of Fire," a highly seismically active zone surrounding the Pacific Ocean, where different plates on the earth’s crust meet, Reuters reported. 

About 90% of the world's earthquakes occur in that zone, according to the U.S. Geological Survey.

CLICK HERE TO GET THE FOX NEWS APP

Last month, a 6.6 magnitude earthquake struck off the coast of Indonesia’s main island of Java, damaging buildings and houses. During that quake, Jakarta, the capital, saw high-rises sway for more than 10 seconds.

The Associated Press contributed to this report