South Africa, the continent's largest industrial power, hosts millions of migrants. "In terms of international law, the welfare of refugees is best ensured by staying in the first country of arrival - Pakistan - before reaching a final destination," the ministry said.