Jabir bin Abdullah reported,

A man from the Ansar named Abu Madhkur freed a slave of his named Yaqub by way of tadbir, meaning the slave would be freed upon his master's death, and he had no other property besides him. The Messenger of Allah ﷺ summoned the slave and asked, "Who will buy him?"Naeem bin Abdullah purchased him for eight hundred dirhams, and the Messenger of Allah ﷺ handed the money to Abu Madhkur and said, "When one of you is poor, let him begin with himself. If there is a surplus, then on his dependents. If there is still a surplus, then on his relatives or kin. If there is still a surplus, then here and there."

Nasai 4657

Sahih

أخبرنا زياد بن أيوب قال حدثنا إسمعيل قال حدثنا أيوب عن أبي الزبير

عن جابر

أن رجلا من الأنصار يقال له أبو مذكور أعتق غلاما له عن دبر يقال له يعقوب لم يكن له مال غيره فدعا به رسول الله ﷺ فقال من يشتريه فاشتراه نعيم بن عبد الله بثمان مائة درهم فدفعها إليه وقال إذا كان أحدكم فقيرا فليبدأ بنفسه فإن كان فضلا فعلى عياله فإن كان فضلا فعلى قرابته أو على ذي رحمه فإن كان فضلا فها هنا وها هنا

النسائي 4657صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Sales
Chapter
Sale of the mudabbar
Numbering
Darussalam 4657
Nasai 4657