Baby taken to hospital after near drowning