South African police have raided a Johannesburg church and detained about 1,500 homeless people, many from Zimbabwe.
The police said they were looking for drugs, guns and illegal immigrants at the Central Methodist Church.
The church is a haven for refugees from neighbouring Zimbabwe, where the economy is in deep crisis.
Hundreds of men, many barefooted and bare-chested, lined up outside the building.
South Africa's own economy is under strain and the government has begun to stiffen its attitude to refugees.