When a hollow prism is filled with water and placed in air, the water inside the prism has a higher refractive index compared to air. As light passes from air into the water-filled prism, it slows down and bends towards the base of the prism. This is due to the change in speed of light in different mediums, causing the deviation of the rays towards the base.
Thus, the incident rays will be deviated towards the base of the prism.