I had got this off a website but it was to small to see hope you do not mind I am copying and pasting but here you go
Islamic views on slavery represent a complex and multifaceted body of Islamic thought, with various Islamic groups or thinkers espousing views on the matter which have been radically different throughout history. Slavery was a mainstay of life in pre-Islamic Arabia and surrounding lands. It was in this social milieu that Islam emerged, whence the Quran and the hadith address slavery extensively, assuming its existence as part of society but viewing it as an exceptional condition and restricting
It tells us that the rich, nobles, and rulers get the best burials with huge chamber filled with treasures and shabti, which are small statues the Egyptians created, because they believed that the shabti would do all the work for them in the afterlife. Peasants and farmers had very poor burials with a simple coffin. Slaves had the worst burials, oftentimes they were just thrown out into the desert. The burial practices sow is that the Egyptians gave the best things to the rich, as all civilizations do