It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Every servant has three friends. One friend says: 'What you spent is yours, and what you held back is not yours'; that is his wealth. The second friend says: 'I am with you, but when you reach the door of the King, I will leave you'; that is his family and servants. And the third friend says: 'I am with you wherever you enter and wherever you leave'; that is his deeds. Then the servant will say (to his deeds): 'You were the least important of the three to me.'"
Hadith Referenceالمعجم الأوسط / باب الألف / 2518
Hadith Gradingمحدثین:رجاله ثقات، وفي بعضهم كلام
Hadith Takhrij«قال الهيثمي: رجاله رجال ثقات وفي بعضهم كلام «مجمع الزوائد ومنبع الفوائد، ج 3، ص 123»» «أخرجه ابن حبان فى «صحيحه» برقم: 3108، والحاكم فى «المستدرك» برقم: 248، 250، 1379، والطيالسي فى «مسنده» برقم: 2125، والبزار فى «مسنده» برقم: 7265، وابن حجر فى «المطالب العالية» برقم: 3148»