Muawiya bin Hakam reported,

I had a slave girl who used to tend sheep for me in the area of Uhud and Jawaniyya. One day I went to check on her and found that a wolf had taken one of the sheep from her flock. I am a man from the children of Adam, and I feel regret as they do, so I struck her a blow.Then I came to the Messenger of Allah ﷺ, and he considered what I had done a serious matter.I said, "Messenger of Allah, shall I free her?"He said, "Bring her to me."So I brought her to him, and he asked her, "Where is Allah?"She said, "In the heavens."He asked, "Who am I?"She replied, "You are the Messenger of Allah."He said, "Free her, for she is a believer."

Azami 265

Sahih

عن معاوية بن الحكم السلمي، قال

كانت لي جارية ترعى غنما لي قبل أحد والجوانية، فاطلعت ذات يوم فإذا الذئب قد ذهب بشاة من غنمها، وأنا رجل من بني آدم آسف كما يأسفون، لكني صككتها صكة. فأتيت رسول الله ﷺ فعظم ذلك علي، قلت: يا رسول الله، أفلا أعتقها؟ قال: ائتني بها. فأتيته بها، فقال لها: أين الله؟ قالت: في السماء. قال: من أنا؟ قالت: أنت رسول الله. قال: اعتقها فإنها مؤمنة.

الأعظمي 265صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in Allah عز وجل
Section
Affirmation of transcendence for Allah the Exalted
Numbering
Jami al-Kamil 265 (2nd edition)
Azami 265