Mohammed referred to blacks as slaves. He even owned several black slaves. Bilal, Abu Hurairah, Usama Ebn Zayyed, and a "Ghullaam" (youth) named Rabbah, were among Mohammed's slaves.
Even in modern times, in Saudi Arabia the homeland of Islam, the common word for "black" is "Abd" meaning slave.