On Isometric Error-Correcting Codes over Finite Fields of Prime Order