Abu Hurairah reported,

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

Ibn Majah 2704

Hasan

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

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

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

ابن ماجه 2704حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Bequests
Chapter
Injustice in bequests
Numbering
Darussalam 2704
Ibn Majah 2704