No it's not. Kaffir is an Arabic term which means non-believer and is applied to all non-Muslims..black & white. It is NOT a black slur in Arabic.
South Africans use it as their version of the N word. Im not even sure if it's derived from the Arabic term since they're also non-believers
Early English
The 16th century explorer
Leo Africanus described the
Cafri as pagan "
negroes", and one of five principal population groups in Africa. According to him, they were of a very dark complexion, "for the most part exceeding blacke of colour". Leo Africanus identified the Cafri's geographical heartland as being located in remote southern Africa, an area which he designated as
Cafraria.
[6]
Following Leo Africanus, the works of
Richard Hakluyt designate this population as
Cafars and Gawars (Ilitterate), which is, infidels or disbelievers".
[7][8] Hakluyt refers to slaves ("slaves called
Cafari") and certain inhabitants of Ethiopia ("and they use to go in small shippes, and trade with the Cafars") by two different but similar names. The word is also used in allusion to a portion of the coast of Africa ("
land of Cafraria").
[9] On early European maps of the 16th and 17th centuries, southern Africa was likewise called by
cartographers Cafreria.