Yes exactly. Arabs geographers had some kind of awareness of the differences between African people's and had different stereotypes (both positive and negative) about them. For example ibn Khaldun wrote extremely racist stuff against the Zanj but had a very neutral or even positive view of the Muslim rulers of Mali Empire. In his mind Zanj was a specific type of people within Africa and didn't mean all black people and he understood the difference just like he understood how Mediterranean Europeans were different from Slavs, Germans etc.
Even within the Zanj there was a distinction between the Muslim swahilis who enjoyed a high social status and the non Muslims from the interior
The Northern Zanj, Demadim, Yamyam, Yam/Yamjam, Habasha/Ahabish, Zanj-Ahabish, and Zanj ed-Damadam – The Horn of Africa between the Ninth and Fifteenth Centuries | History in Africa | Cambridge Core
The Northern Zanj, Demadim, Yamyam, Yam/Yamjam, Habasha/Ahabish, Zanj-Ahabish, and Zanj ed-Damadam – The Horn of Africa between the Ninth and Fifteenth Centuries - Volume 46
www.cambridge.org
"This article argues that historians will have a new understanding of northeast and east Africa if they recall the medieval meaning of the terms Zanj and Ahabish, or Habasha. Before the fifteenth century the term Zanj included the diverse populations of northeast Africa, so should not be exclusive of the populations of coastal east Africa. Likewise, Habasha or Ahabish was not confined to the peoples of the northern Horn but included the diverse peoples of coastal east Africa. Uncovering older meanings of Zanj and Ahabish helps to identify elusive groups of ancient northeast Africans referred to as northern Zanj, Zanj-Ahabish, Ahabish, and Damadim. For identification, this article presents three types of historical data overlooked in the sources. The first consists of the interchangeable names northern Zanj, Damadim, Ahabish, Zanj-Ahabish, and Zanj ed-Damadim to recast the term Zanj and identify the Damadim or Yamyam. The second is the broadly inclusive meaning before the fifteenth century of the term Habasha. The third is the reported eloquence in their Buttaa ceremony of the northern Zanj, and the institutional setting of the Buttaa within the Oromo Gadaa system."
Last edited: