Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates: The Prophet Muhammad (peace and blessings be upon him) said: "None of you should ever wish for death because of any calamity that befalls him. If he must wish for it, then let him say: O Allah! Keep me alive as long as life is better for me, and cause me to die when death is better for me."