Abdullah bin Amr bin As reported,

I heard the Messenger of Allah ﷺ say, "Whoever meets Allah without associating anything with Him will enter Paradise, and no sin he committed will harm him. Just as whoever meets Him while associating partners with Him will enter the Fire, and no good deed he performed will benefit him."Abu Naeem said in his version of the hadith, A man, or an elderly man, from the people of Madinah came and stayed with Masruq. He said, "I heard Abdullah bin Amr say, the Messenger of Allah ﷺ said, 'Whoever meets Allah without associating anything with Him, no sin will harm him along with it, and whoever dies while associating partners with Him, no good deed will benefit him along with it.'"Abdullah said, "The correct version is what Abu Naeem reported."

Ahmad 6586

Sahih

حدثنا أبو أحمد وأبو نعيم قالا حدثنا سفيان عن إبراهيم بن محمد بن المنتشر عن أبيه هذا في حديث أبي أحمد الزبيري قال نزل رجل على مسروق فقال سمعت

عبد الله بن عمرو بن العاصي يقول

سمعت رسول الله ﷺ يقول من لقي الله وهو لا يشرك به شيئا دخل الجنة ولم تضر معه خطيئة كما لو لقيه وهو مشرك به دخل النار ولم تنفعه معه حسنة قال أبو نعيم في حديثه جاء رجل أو شيخ من أهل المدينة فنزل على مسروق فقال سمعت عبد الله بن عمرو يقول قال رسول الله ﷺ من لقي الله لا يشرك به شيئا لم تضره معه خطيئة ومن مات وهو يشرك به لم ينفعه معه حسنة قال عبد الله والصواب ما قاله أبو نعيم

أحمد 6586صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Amr bin As
Numbering
Darussalam 6586
Ahmad 6586