A woman in her 20s and a two-year-old girl are in hospital for treatment.