Thousands have fled South Africa, fearing they will be attacked or killed, after an anti-immigrant movement set a “deadline” for them to leave the country.

Protesters have told all undocumented foreigners to leave South Africa by Tuesday, ahead of anti-immigrant rallies that many fear will turn violent.

South Africa's national intelligence body said Monday that more than 25,000 people have been repatriated in recent weeks ahead of planned anti-immigrant protests, with many others…