It is narrated from Sayyiduna Abu Hurairah, may Allah be pleased with him, that the Messenger of Allah, peace and blessings be upon him, said: None of you should wish for death or pray for it before it comes, because when a person dies, his deeds come to an end, and a believer only increases in good deeds during his life.
Hadith Referenceالفتح الربانی / كتاب الجنائز / 2989