Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:4393Muḥammad b. al-ʿAlāʾ > Abū Usāmah > Ismāʿīl > Qays > Abū Hurayrah

When I came to the Prophet ﷺ said on my way, "O what a long tedious tiresome night; nevertheless, it has rescued me from the place of Heathenism." A slave of mine ran away on the way. When I reached the Prophet ﷺ I gave him the oath of allegiance (for Islam), and while I was sitting with him, suddenly the slave appeared. The Prophet ﷺ said to me. "O Abu Huraira! Here is your slave," I said, "He (i.e. the slave) is (free) for Allah's Sake," and manumitted him.  

البخاري:٤٣٩٣حَدَّثَنِي مُحَمَّدُ بْنُ الْعَلاَءِ حَدَّثَنَا أَبُو أُسَامَةَ حَدَّثَنَا إِسْمَاعِيلُ عَنْ قَيْسٍ عَنْ أَبِي هُرَيْرَةَ قَالَ

لَمَّا قَدِمْتُ عَلَى النَّبِيِّ ﷺ قُلْتُ فِي الطَّرِيقِ يَا لَيْلَةً مِنْ طُولِهَا وَعَنَائِهَا عَلَى أَنَّهَا مِنْ دَارَةِ الْكُفْرِ نَجَّتِ وَأَبَقَ غُلاَمٌ لِي فِي الطَّرِيقِ فَلَمَّا قَدِمْتُ عَلَى النَّبِيِّ ﷺ فَبَايَعْتُهُ فَبَيْنَا أَنَا عِنْدَهُ إِذْ طَلَعَ الْغُلاَمُ فَقَالَ لِي النَّبِيُّ ﷺ يَا أَبَا هُرَيْرَةَ هَذَا غُلاَمُكَ فَقُلْتُ هُوَ لِوَجْهِ اللَّهِ تَعَالَى فَأَعْتَقْتُهُ  


See similar narrations below:

Collected by Bukhārī
bukhari:2531ʿUbaydullāh b. Saʿīd > Abū Usāmah > Ismāʿīl > Qays > Abū Hurayrah

On my way to the Prophet ﷺ I was reciting:-- 'What a long tedious tiresome night! Nevertheless, it has saved us From the land of Kufr (disbelief).' I had a slave who ran away from me on the way. When I went to the Prophet ﷺ and gave the pledge of allegiance for embracing Islam, the slave showed up while I was still with the Prophet ﷺ who remarked, "O Abu Huraira! Here is your slave!" I said, "I manumit him for Allah's Sake," and so I freed him.  

البخاري:٢٥٣١حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ سَعِيدٍ حَدَّثَنَا أَبُو أُسَامَةَ حَدَّثَنَا إِسْمَاعِيلُ عَنْ قَيْسٍ عَنْ أَبِي هُرَيْرَةَ ؓ قَالَ

لَمَّا قَدِمْتُ عَلَى النَّبِيِّ ﷺ قُلْتُ فِي الطَّرِيقِ يَا لَيْلَةً مِنْ طُولِهَا وَعَنَائِهَا عَلَى أَنَّهَا مِنْ دَارَةِ الْكُفْرِ نَجَّتِ قَالَ وَأَبَقَ مِنِّي غُلاَمٌ لِي فِي الطَّرِيقِ قَالَ فَلَمَّا قَدِمْتُ عَلَى النَّبِيِّ ﷺ بَايَعْتُهُ فَبَيْنَا أَنَا عِنْدَهُ إِذْ طَلَعَ الْغُلاَمُ فَقَالَ لِي رَسُولُ اللَّهِ ﷺ يَا أَبَا هُرَيْرَةَ هَذَا غُلاَمُكَ فَقُلْتُ هُوَ حُرٌّ لِوَجْهِ اللَّهِ فَأَعْتَقْتُهُ لَمْ يَقُلْ أَبُو كُرَيْبٍ عَنْ أَبِي أُسَامَةَ حُرٌّ