Islam allows slavery, and is still doing it.
https://en.wikipedia.org/wiki/History_of_slavery_in_the_Muslim_world
Among the last states to abolish slavery were Saudi Arabia and Yemen, which abolished slavery in 1962 under pressure from Britain; Oman in 1970, and Mauritania in 1905, 1981, and again in August 2007.[16] However, slavery claiming the sanction of Islam is documented presently in the predominantly Islamic countries of Chad, Mauritania, Niger, Mali, and Sudan.