It is reported that Wuhayb b. Al-Ward – Allāh have mercy on him – said:
Verily, when Allāh the Exalted wants to honor a servant of His (for his righteousness), He afflicts him with a reduced means of living, illness in his body and a fearful life (all of which expiate his sins). Until death comes upon him, and he still has some sins, death is made hard upon him because of them, causing him to meet Allāh with no sins against him.
And when a person is of little value to Allāh (because of his disobedience), He makes his body healthy, broadens his means of living and makes him feel safe (the rewards for any good deeds he did are exhausted). Until death comes upon him, and he still has some good deeds, the experience of death is lightened for him because of them, and he meets Allāh with nothing.
Abu Bakr Al-Daynūrī, Al-Mujālasah wa Jawāhir Al-‘Ilm article 2865.