At least three people have died and 24 injured after a 6.2 magnitude earthquake struck Indonesia's Sulawesi island.

Thousands of residents have fled their homes to seek safety after the quake.