Ибн Хальдун
Another testimony from Ibn Khaldun describes the grand pilgrimage of Mansa Musa consisting of 12,000 slaves: