Nigeria’s president on Tuesday ordered a crackdown on abuse at Islamic schools, after a second police raid in less than a month revealed men and boys subjected to beatings, abuse and squalid conditions.

Nearly 300 had been held captive at a school in the Daura area of Katsina, the hometown of President Muhammadu Buhari, where police said they discovered “inhuman and degrading treatment” following a raid on Monday to free the remaining students.

Late last month, police freed hundreds from similarly degrading conditions in neighbouring Kaduna state.

“Mr. President has directed the police to disband all such centres and all the inmates be handed over to their parents,” said a presidential spokesman.

“The government cannot allow centres where people, male and female, are maltreated in the name of religion,” he said.

Prior to this week’s raid, hundreds of captives had escaped the centre, police said on Tuesday.

The 67 inmates who were freed by Katsina police were shackled, and many were taken to hospital for treatment.

“I tell you they were in very bad condition when we met them,” Gambo said.

A freed captive revealed that the instructors beat, raped and even killed some of the men and boys held at the facility, who ranged from 7 to 40 years of age. It was not immediately possible to verify his account.

While the institution told parents it was an Islamic teaching centre that would help straighten out wayward family members, the instructors instead brutally abused them and took away any food or money sent by relatives.

“I deeply regret taking my child to the rehabilitation centre because I was ignorant of what was actually going on here,” Alhaji Lawal Garka, a parent of one of the captives said.

Police said they had arrested the owner of the facility and two teachers, and were tracking other suspects.

The more than 200 captives who escaped are still missing and  police were working to reunite the others with family members.

Islamic schools, called Almajiris, are common in the mostly Muslim north of Nigeria. Muslim Rights Concern, a local organisation, estimates about 10 million children attend them.

Buhari said the government planned to ban the schools eventually, but he has not yet commented on the Katsina school.