Invariance property of wave scattering through disordered media