Ray optics is valid only when the wave length of light (l) tends to zero.
(Or) when Fresnel distance $Z_{f}$ tends to infinity.