Sayyiduna Jabir bin Abdullah (may Allah be pleased with him) narrates: One of the companions of the Prophet (peace and blessings of Allah be upon him) declared his slave to be free after his death. He had no other wealth except this slave. The Prophet (peace and blessings of Allah be upon him) took hold of him and sold him. He said: You are more in need of his price, and Allah is more free of need than this.
Hadith Referenceصحیح ابن حبان / كتاب البيوع / 4933
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «أحاديث البيوع»: ق.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط البخاري