Manumission of Slaves
كتاب العتق
Chapter 12: Manumission of a Mushrik
My father told me that Hakim bin Hizam manumitted one-hundred slaves in the Pre-Islamic period of ignorance and slaughtered one-hundred camels (and distributed them in charity). When he embraced Islam he again slaughtered one-hundred camels and manumitted one-hundred slaves. Hakim said, "I asked Allah's Messenger (ﷺ), 'O Allah's Messenger (ﷺ)! What do you think about some good deeds I used to practice in the Pre-Islamic period of ignorance regarding them as deeds of righteousness?' Allah's Apostle said, "You have embraced Islam along with all those good deeds you did."
Chapter 13: Whoever possessed Arab slaves
I have loved the people of the tribe of Bani Tamim ever since I heard, three things, Allah's Messenger (ﷺ) said about them. I heard him saying, These people (of the tribe of Bani Tamim) would stand firm against Ad-Dajjal." When the Sadaqat (gifts of charity) from that tribe came, Allah's Messenger (ﷺ) said, "These are the Sadaqat (i.e. charitable gifts) of our folk." `Aisha had a slave-girl from that tribe, and the Prophet (ﷺ) said to `Aisha, "Manumit her as she is a descendant of Ishmael (the Prophet).