The merger of a binary neutron star system results in the emission of a gravitational wave, a highly dense and magnetized environment, and the launch of a collimated relativistic jet which eventually produces a short gamma-ray burst (SGRB). Although the evolution of a jet-SGRB has been studied through different media, the evolution through a magnetized medium is not fully understood. Therefore, to understand the importance of the magnetic field of the medium, we studied the evolution of several SGRB-jets with luminosity $L_{j}=2\times 10^{50}$ erg s$^{-1}$ and an opening angle $\theta_{j}=10^{\circ}$ through media with different distributions and magnitudes of the magnetic field \textbf{B} using 2.5-dimensional magneto-hydrodynamic relativistic numerical simulations.