Sahih Muslim Book 35, Hadith Number 6482.
Chapter : It is not something appreciable to make request for death from the Lord when one is in trouble.
Nadr b. Anas reported, as when Anas was alive, that he said: Had Allah’s Messenger (may peace be upon him) not stated this.. “None should make a request for death,” I would have definitely done that.