Hadith 165:1
'Abd al-Razzaq narrated to us, Ma'mar narrated to us, from al-Zuhri, from 'Ubayd Allah ibn 'Abd Allah, from a man from the Ansar, that he came with a black slave girl and said: "O Messenger of Allah, I have an obligation to free a believing slave. If you see that she is a believer, I will free her." The Messenger of Allah (peace and blessings of Allah be upon him) said to her: "Do you bear witness that there is no god but Allah?" She said: "Yes." He said: "Do you bear witness that I am the Messenger of Allah?" She said: "Yes." He said: "Do you believe in the resurrection after death?" She said: "Yes." He said: "Free her."
حدثنا عبد الرزاق، حدثنا معمر، عن الزهري، عن عبيد الله ابن عبد الله، عن رجل، من الأنصار أنه جاء بأمة سوداء، وقال: يا رسول الله، إن علي رقبة مؤمنة، فإن كنت ترى هذه مؤمنة أعتقتها، فقال لها رسول الله صلى الله عليه وسلم: " أتشهدين أن لا إله إلا الله؟ " قالت: نعم قال: " أتشهدين أني رسول الله؟ " قالت: نعم قال: " أتؤمنين بالبعث بعد الموت؟ " قالت: نعم قال: " أعتقها "