Narrated Mu'awiyah b. al-Hakam al-Sulami:
I said: Messenger of Allah, I have a slave girl whom I slapped. This grieved the Messenger of Allah (
). I said to him: Should I not emancipate her? He said: Bring her to me. He said: Then I brought her. He asked: Where is Allah ? She replied: In the heaven. He said: Who am I ? She replied: You are the Messenger of Allah. He said: Emancipate her, she is a believer.