Ghana said on Friday it had delayed the evacuation of hundreds of its citizens from South Africa by a few days due to logistical issues.
More than 800 Ghanaians registered at the High Commission in Pretoria for help to return home during the recent wave of anti-immigrant protests.
In one incident, a viral video showed a Ghanaian man being allegedly attacked by a mob of people demanding to see his papers and then questioning their authenticity.
The first group of 300 people was due to leave on Thursday, but Accra said the process was delayed due to the large number.
It added that South African legal conditions must be met, including mandatory passenger screening, multi-institutional coordination and flight permits.
Officials of both the countries have agreed to expedite this process.
Xenophobic attacks have flared up from time to time in South Africa, but tensions have risen following a recent wave of protests.
People across the country took to the streets and demanded the immediate deportation of undocumented foreigners.
South Africa's Department of International Relations and Cooperation has called on African countries to partner with Pretoria to address illegal migration issues.
The Ghanaian government has promised reintegration financial packages and psycho-social support to those it is expelling from South Africa.
