The girl, aged under two, was given medical treartment after the incident which occured near a petrol station