We reformulate in Lagrangian coordinates the two-phase free boundary problem for the equations of Magnetohydrodynamics in a infinite slab, which is incompressible, viscous and of zero resistivity, as one for the Navier-Stokes equations with a force term induced by the fluid flow map. We study the stabilized effect of the magnetic field for the linearized equations around the steady-state solution by assuming that the upper fluid is heavier than the lower fluid, i.e., the linear Rayleigh-Taylor instability. We identity the critical magnetic number ∣B∣c by a variational problem. For the cases (i) the magnetic number Bˉ is vertical in 2D or 3D; (ii)Bˉ is horizontal in 2D, we prove that the linear system is stable when ∣Bˉ∣≥∣B∣c and is unstable when ∣Bˉ∣<∣B∣c. Moreover, for ∣Bˉ∣<∣B∣c the vertical Bˉ stabilizes the low frequency interval while the horizontal Bˉ stabilizes the high frequency interval, and the growth rate of growing modes is bounded.