Translation
(49) Manumission of Slaves
كتاب العتق
(7) Chapter: The witness for manumission
(7) باب إِذَا قَالَ رَجُلٌ لِعَبْدِهِ هُوَ لِلَّهِ وَنَوَى الْعِتْقَ، وَالإِشْهَادُ فِي الْعِتْقِ
Sahih al-Bukhari 2532 

Narrated Qais:

When Abu Huraira accompanied by his slave came intending to embrace Islam, they lost each other on the way. (When the slave showed up) Abu Huraira said (to the Prophet), "I make you witness that the slave is free for Allah's Cause."

حَدَّثَنَا شِهَابُ بْنُ عَبَّادٍ، حَدَّثَنَا إِبْرَاهِيمُ بْنُ حُمَيْدٍ، عَنْ إِسْمَاعِيلَ، عَنْ قَيْسٍ، قَالَ لَمَّا أَقْبَلَ أَبُو هُرَيْرَةَ ـ رضى الله عنه ـ وَمَعَهُ غُلاَمُهُ وَهْوَ يَطْلُبُ الإِسْلاَمَ، فَأَضَلَّ أَحَدُهُمَا صَاحِبَهُ بِهَذَا، وَقَالَ أَمَا إِنِّي أُشْهِدُكَ أَنَّهُ لِلَّهِ‏.‏
Reference : Sahih al-Bukhari 2532
In-book reference : Book 49, Hadith 16
USC-MSA web (English) reference : Vol. 3, Book 46, Hadith 709
  (deprecated numbering scheme)