It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "A man does the deeds of the people of good for seventy years, then when he makes his will he acts unjustly in it, so his end is sealed with his evil deed and he enters the Fire; and a man does the deeds of the people of evil for seventy years, then he is just in his will, so his end is sealed with his best deed and he enters Paradise."
The narrator said: Then Sayyiduna Abu Hurayrah (may Allah be pleased with him) would say: "Recite (these verses) if you wish: from 'These are the limits set by Allah' up to 'and for him is a humiliating punishment'."
No one narrated this hadith from Shahr bin Hawshab (may Allah have mercy on him) except Ash'ath bin Abdullah (may Allah have mercy on him), and it is narrated from the Prophet (peace and blessings be upon him) only through the hadith of Ash'ath bin Abdullah (may Allah have mercy on him).
Hadith Referenceالمعجم الأوسط / باب الألف / 3002
Hadith Takhrij«أخرجه أبو داود فى «سننه» برقم: 2867، والترمذي فى «جامعه» برقم: 2117، وابن ماجه فى «سننه» برقم: 2704، والبيهقي فى «السنن الكبرى» برقم: 12709، وأحمد فى «مسنده» برقم: 7857، وعبد الرزاق فى «مصنفه» برقم: 16455»