The institution of slavery was permitted under the laws of Islam