The quantum spin Hall (QSH) effect is known to be unstable to perturbations violating time-reversal symmetry. We show that creating a narrow ferromagnetic (FM) region near the edge of a QSH sample can push one of the counterpropagating edge states to the inner boundary of the FM region, and leave the other at the outer boundary, without changing their spin polarizations and propagation directions. Since the two edge states are spatially separated into different lanes, the QSH effect becomes robust against symmetry-breaking perturbations.