NASAI-KUBRA 4927:
from ʿAbdullāh b. ʿUmar —
[Machine] The Prophet Muhammad ﷺ said, "Whoever has a share in a slave, let him set him free, for he has indeed freed him. And if he has wealth, let him pay its fair value. And if he does not have wealth, then he has freed him from what he may have owed."
الكبرى للنسائي ٤٩٢٧:
عن عبد الله بن عمر —
أَنَّ رَسُولَ اللهِ ﷺ قَالَ «مَنْ كَانَ لَهُ شِرْكٌ فِي عَبْدٍ فَأَعْتَقَهُ فَقَدْ عَتَقَ فَإِنْ كَانَ لَهُ مَالٌ قُوِّمَ عَلَيْهِ قِيمَةُ عَدْلٍ فِي مَالِهِ وَإِنْ لَمْ يَكُنْ لَهُ مَالٌ فَقَدْ عَتَقَ مِنْهُ مَا عَتَقَ»