Sayyiduna Anas (may Allah be pleased with him) narrates: The Noble Prophet (peace and blessings be upon him) said: "On the Day of Resurrection, some scrolls will be brought, which will be sealed. They will be placed before Allah Almighty, and Allah will say to His angels: 'Put them aside!' The angels will say: 'By Your honor! We saw nothing but good in them.' Allah Almighty will say—though He knows best—'All these deeds were done for others. Today, I will only accept those deeds which were done solely for My pleasure.'"
Hadith Referenceسنن الدارقطني / كتاب الطهارة / 132
Hadith Takhrij«أخرجه الدارقطني فى ((سننه)) برقم: 132، والبزار فى ((مسنده)) برقم: 7388، والطبراني فى ((الأوسط)) برقم: 2603، 6133»