At least 15 houses either belonging or rented by immigrants, especially Nigerians, have been burnt by angry residents in Rosettenvile, south of Johannesburg.
The residents are reported to be angry that foreign nationals had turned the neighbourhood into a drug haven.
Africa Review reports on Sunday that some shops belonging to foreign nationals in the area were also looted.
South African residents in the area claim Nigerians had illegally taken over most properties and turned them into drug and prostitution dens.
The African Diaspora Forum (ADM) chairperson, Mr Marc Gbaffou, confirmed the attacks and blamed Johannesburg Mayor Herman Mashaba, for his inflammatory comments.
Early last December, Mr Mashaba told a media conference that illegal immigrants got there criminally and should be treated as such.
On Friday, he visited Rosettenville where he made claims that foreign nationals were using girls as young as nine as prostitutes in 'drug houses'.
"According to community members, these homes are illegally occupied by Nigerian foreign nationals who run the homes as brothels and have girls as young as nine years old working as prostitutes.
Many of the women in these brothels are also alleged to have no official identification documentation," said Mr Mashaba.
Mr Gbaffou said it was reckless for the mayor to make such a statement without proof.
"What proof does he have that foreigners are running these brothels? His remarks are very inflammatory, and it makes no difference that he has diverted from illegal immigrants to drug peddling. It is very dangerous and we see it as propaganda of hatred," he said.
A community leader, Mr Andile Tshem, called on residents to desist from violence, adding that it was high time law enforcement agents took action against criminals.
"We don't encourage this at all, you cannot correct a wrong with another wrong. South African people must not be living on the streets when foreigners are using houses as brothels," he said.
Police have arrested a man found in one of the houses that were set alight in Rosettenville.
Some Nigerians in Johannesburg have take to twitters to express their anger.
Arewa Youth Forum @ArewaYouthForum tweeted on Sunday, "Nigerians' houses burnt in Johannesburg"