Jabir bin Abdullah (may Allah be pleased with them both) narrates that Abu Mazkoor was a man from the tribe of Uzrah. He had a Coptic slave whom he had declared as Mudabbar. The Prophet ﷺ heard about this slave, so he ﷺ sold the slave and said: "When any of you is poor, he should begin with himself; if there is surplus wealth, then he should start with those under his care, and then if he finds surplus wealth after that, he should give charity to others."
Hadith Referenceمسند الإمام الشافعي / كتاب العتق والولاء والمدبر والمكاتب وحسن الملكة / 1091
Hadith Takhrijاخرجه البيهقي: 10/ 309 - وفى المعرفة السنن والآثار له (6071) وعبد الرزاق (16662) واحمد: 3/ 294 - وصححه ابن الجارود (894)۔