Abu Hurairah reported,

When I came to the Prophet ﷺ, I said along the way,"What a night, with its length and its hardship, yet it brought escape from the land of unbelief."A slave of mine ran away on the journey. When I reached the Prophet ﷺ and gave him my pledge of allegiance, while I was sitting with him, the slave suddenly appeared.The Prophet ﷺ said to me, "Abu Hurayrah, here is your slave."I replied, "He is freed for the sake of Allah," and I set him free.

Bukhari 4393

Sahih

حدثني محمد بن العلاء حدثنا أبو أسامة حدثنا إسماعيل عن قيس

عن أبي هريرة قال

لما قدمت على النبي ﷺ قلت في الطريق يا ليلة من طولها وعنائها على أنها من دارة الكفر نجت وأبق غلام لي في الطريق فلما قدمت على النبي ﷺ فبايعته فبينا أنا عنده إذ طلع الغلام فقال لي النبي ﷺ يا أبا هريرة هذا غلامك فقلت هو لوجه الله فأعتقته

البخاري 4393صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Expeditions
Chapter
Story of Daws and Tufayl bin Amr Dawsi
Numbering
Darussalam 4393
Bukhari 4393