The African National Congress on Tuesday said it was saddened that a man was killed because of intolerance.
"This kind of racial and religious intolerance is unacceptable in a society which is tirelessly trying to ward off the yoke of apartheid's legacy of racial discrimination, and heal a traumatised nation," the ANC said in a statement.
"Crimes related to racism, religious bigotry, xenophobia, and Islamophobia cannot and will not be tolerated."
This was the reaction from ANC MPs in Parliament on Tuesday.
Muhammad Fayaaz Kazi (27) from Ventersdorp, and his father's friend Anser Mahmood, were attacked at a Chicken Licken outlet in Magaliesburg on Monday.
Mahmood said two white, Afrikaans-speaking men made fun of Kazi's beard and insulted them.
Kazi, who understood Afrikaans, confronted the two men and a fight broke out. Both Kazi and his friend were attacked before the two white men fled the scene. Kazi later died in Potchefstroom Hospital.
Two men were arrested and appeared in the Krugersdorp Magistrate's Court on Monday.
The ANC said: "We are pleased that the two suspects have been taken into custody and hope that the law deals with them harshly."
The party acknowledged that inequalities and disparities often led to conflict and bred intolerance.
"We need to speed up our socio-economic transformation, because building social cohesion and uniting the nation cannot be fully realised if the gap between the rich and poor continues to grow disproportionately," the ANC said.
"The tragic death of an innocent man because of his faith points to deeper fissures in our society."