The previous strongest earthquake in Malaysia occurred on June 5, 2015, in Ranau, Sabah, and claimed 18 lives.