Invariance property in scattering media and absorption