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.
ahmad:2111Yazīd > Ḥajjāj > al-Ḥakam > Miqsam > Ibn ʿAbbās

[Machine] That the Messenger of Allah ﷺ used to free those slaves who came to him before their masters if they accepted Islam, and he had freed two men on the day of the Battle of Ta'if.  

أحمد:٢١١١حَدَّثَنَا يَزِيدُ أَخْبَرَنَا حَجَّاجٌ عَنِ الْحَكَمِ عَنْ مِقْسَمٍ عَنِ ابْنِ عَبَّاسٍ

أَنَّ رَسُولَ اللهِ ﷺ كَانَ يُعْتِقُ مَنْ جَاءَهُ مِنَ العَبِيدِ قَبْلَ مَوَالِيهِمْ إِذَا أَسْلَمُوا وَقَدْ أَعْتَقَ يَوْمَ الطَّائِفِ رَجُلَيْنِ