Abomination of longing for Death

Imam Al-Nawawi’s Riyad-us-Saliheen
Chapter 67
Abomination of longing for Death

585. Abu Hurairah (May Allah be pleased with him) reported: Messenger of Allah (sallallaahu ’alayhi wa sallam) said, “None of you should wish for death. If he is righteous, perhaps he may add to (his) good works, and if he is a sinner, possibly he may repent (in case he is given a longer life).”
[Al-Bukhari].

     In Muslim, Abu Hurairah (May Allah be pleased with him) reported : Messenger of Allah (sallallaahu ’alayhi wa sallam) said, “Let none of you wish for death, nor he ask for it before it comes to him, because when he dies, his actions will be terminated; certainly the age of a (true) believer does not add but good.”  

586. Anas bin Malik (May Allah be pleased with him) reported: Messenger of Allah (sallallaahu ’alayhi wa sallam) said, “Let none of you wish for death on account of an affliction that befalls him. If he has no alternative, let him pray: `Allahumma ahyine ma kanatil-hayatu khairan li, wa tawaffani idha kanatil-wafatu khairan li (O Allah! Give my life so long as the life is good for me, and take away my life if death is good for me)’.”
[Al-Bukhari and Muslim].

587. Qais bin Abu Hazim (May Allah be pleased with him) reported: I went to visit Khabbab bin Aratt (May Allah be pleased with him) during his illness. He had been cauterized in seven places. He said: “Our companions who have died have left (this world) without having enjoyed the pleasures of the world (in order to get a great full reward in the Hereafter) while we have amassed wealth exceeding our needs for which there is no place to keep except in the earth. Had Messenger of Allah (sallallaahu ’alayhi wa sallam) not prohibited us from longing for death, I would have prayed for it.” Then we visited him again and he was building a wall. He said: “There is a reward in store for a Muslim in respect of everything on which he spends except for something he places in the earth (i.e., something exceeding our needs or essentials).”
[Al-Bukhari and Muslim].