Thanks for the correction Marc, should have remembered that Abu Abdillah was Sultan of Qarnatah.
The Moors was a blanket term applied by writers of old to describe Arabs in general, just like Afranji or Feringgi (which became Farang in Thai I think) from Franks was used to denote westerners in the eastern part of the world.