أَخْبَرَنَا عَبْدُ الأَعْلَى بْنُ وَاصِلِ بْنِ عَبْدِ الأَعْلَى، قَالَ حَدَّثَنَا مُحَاضِرُ بْنُ الْمُوَرِّعِ، قَالَ حَدَّثَنَا الأَعْمَشُ، عَنْ سَلَمَةَ بْنِ كُهَيْلٍ، عَنْ عَطَاءٍ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ، قَالَ أَعْتَقَ رَجُلٌ مِنَ الأَنْصَارِ غُلاَمًا لَهُ عَنْ دُبُرٍ وَكَانَ مُحْتَاجًا وَكَانَ عَلَيْهِ دَيْنٌ فَبَاعَهُ رَسُولُ اللَّهِ صلى الله عليه وسلم بِثَمَانِمِائَةِ دِرْهَمٍ فَأَعْطَاهُ فَقَالَ ‏"‏ اقْضِ دَيْنَكَ وَأَنْفِقْ عَلَى عِيَالِكَ ‏"‏ ‏.‏

It was narrated that Jabir bin 'Abdullah said: "A man among the Ansar stated that his salve was to be set free after he died; he was in need, and he owed a debt. The Messenger of Allah [SAW] sold him (the slave) for eight hundred Dirhams, and he gave (the money) to him and said: 'Pay off your debt and spend on your dependents.'" Translation Not Available

Book Ref: Sunan An Nisai Book 49 Hadith 5418
Web Ref:  Sunan An Nisai Vol 6 Book 49 Hadith 5420