Immigrants have fled South Africa’s main township, Soweto, following xenophobic attacks which killed three people on Wednesday, the BBC’s Nomsa Maseko reports from Johannesburg.
Violence broke out after locals accused a Somali shop owner of shooting a teenager and his friend who allegedly tried to break into his store.
Police believe this triggered the chaotic scenes of looting and violence, which spread to other areas of Soweto, our correspondent says.
Residents also accused shop owners of selling expired foods.
A total of 27 people have been arrested, a police statement said.
It condemned those who had taken the law into their own hands, and described the disturbances as tantamount to anarchy.
Reports suggested that the unrest continued into Wednesday evening, according to South Africa’s TimesLive news site.
A WhatsApp message has been doing the rounds in South Africa warning anyone who has rented rooms to Somalis to evict them, our correspondent says.
According to the message if this does not happen by 8 September homes and shops will be burnt down.
A number of these shops are built in the backyards of residents, and are owned by immigrants, including Ethiopians, Zimbabweans, Pakistanis, our reporter says.
Many shop owners have now packed up their goods and are leaving the township, fearing further violence, she adds.
Cover photo: An injured Somali man outside his shop in Soweto. Photo: Reuters