For a floating body to be in stable equilibrium, its metacenter (M) must be located above its center of gravity (G). This ensures that any small tilt creates a restoring couple that brings the body back to its original position.