TABARANI 10971:
from Ibn ʿAbbās —
[Machine] About the Prophet ﷺ , he said, "It is not permissible to sell a captured person or a freed slave. Therefore, whoever buys or sells a captured person or a freed slave, it belongs to him."
الطبراني ١٠٩٧١:
عن ابن عباس —
عَنِ النَّبِيِّ ﷺ قَالَ «لَا يَحِلُّ الرُّقْبَى وَلَا الْعُمْرَى فَمَنْ أُرْقِبَ شَيْئًا أَوْ أُعْمِرَ شَيْئًا فَهُوَ لَهُ»