Allah Says in a Hadith Qudsi:
When My servant reaches the age of 40, I relieve him of 3 calamities: madness, elephantiasis and leprosy. When he reaches the age of 50, I subject him to an easy reckoning. When he reaches the age of 60, I endear to him his return (to Me). When he is 70, I make him dear to the Angels. When he is 80, I write his good deeds and cast away his evil deeds. When he is 90, the Angels say: he is Allah's prisoner on earth; his earlier and later sins are forgiven and his intercession is accepted. When he reaches the age of senility, Allah records for him (his good deeds) equal (in value) to what he did when he was in sound health. If he does anything bad, it is not written. (Tirmidhi)
When My servant reaches the age of 40, I relieve him of 3 calamities: madness, elephantiasis and leprosy. When he reaches the age of 50, I subject him to an easy reckoning. When he reaches the age of 60, I endear to him his return (to Me). When he is 70, I make him dear to the Angels. When he is 80, I write his good deeds and cast away his evil deeds. When he is 90, the Angels say: he is Allah's prisoner on earth; his earlier and later sins are forgiven and his intercession is accepted. When he reaches the age of senility, Allah records for him (his good deeds) equal (in value) to what he did when he was in sound health. If he does anything bad, it is not written. (Tirmidhi)