 Islam viewed this practice as "erasure of natal identity".This practice was sometimes done for emotional reasons, such as pity, but adoption was also a means through which slaves were stripped of their identities and given the name of their slavemaster.The Quran replaced the pre-Islamic custom of adoption by the recommendation that "believers treat children of unknown origin as their brothers in the faith".