Israeli soldiers detained three children on Friday for wearing veils in a military-controlled area of the West Bank, after they threw them in the water, local media reported.

The soldiers found the children in the waters of a canal and confiscated their veils, according to local news channel WAFA.

The soldiers said they found the three children wearing a skirt in the area near a field, and asked the children to get their veil-wearing shoes washed and washed again, WAFA reported.

When the children refused, the soldiers began to beat them and take them to a military outpost, where the soldiers beat and arrested them, the station reported.

One of the children, a girl, said she was forced to give the soldiers a handjob because of the way she was dressed.

Another boy, aged 10, was taken to a nearby hospital with what the police said were burns to his arms.

The boy’s parents are from Gaza, according a statement by the IDF Spokesperson’s Office.

According to WAFA, the Israeli army has been criticized in the past for arresting Palestinians who refuse to cover their faces.