Abu Hurairah reported,

The Messenger of Allah ﷺ said, "A man may perform the deeds of the righteous for seventy years, but when he makes his will, he acts unjustly in it, so his life is sealed with his worst deed and he enters the Fire. And a man may perform the deeds of the wicked for seventy years, but he is just in his will, so his life is sealed with his best deed and he enters Paradise."Then Abu Hurairah would say, "Recite, if you wish, 'These are the limits set by Allah,' up to His words, 'a humiliating punishment'" [Nisa 4:13–14].

Ahmad 7742

Daif

حدثنا عبد الرزاق أخبرنا معمر عن أشعث بن عبد الله عن شهر بن حوشب

عن أبي هريرة قال

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

أحمد 7742ضعيف
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 7742
Ahmad 7742