Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates: The Prophet (peace and blessings be upon him) said: "On the Day of Resurrection the son of Adam will be brought as though he were a 'badhaj' (sometimes the narrator reports the word:) as though he were a 'hamal' (both words mean a young lamb). The Lord will say: O son of Adam! I am the best of sharers. Look at the deed that you did for Me; I will reward you for it. And look at the deed that you did for other than Me; he will reward you for the deed you did for him."
Abu Ya'la recorded it, and its chain contains mudallis narrators.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الزهد / 17654