Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:3109Muḥammad b. Bashhār > Abū Dāwud > Shuʿbah > Qatādah > Anas b. Mālik

The Prophet ﷺ as saying: No one of you should wish for death. He then mentioned the rest of the tradition in a similar manner.  

أبو داود:٣١٠٩حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ حَدَّثَنَا أَبُو دَاوُدَ حَدَّثَنَا شُعْبَةُ عَنْ قَتَادَةَ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّ النَّبِيَّ ﷺ قَالَ لاَ يَتَمَنَّيَنَّ أَحَدُكُمُ الْمَوْتَ فَذَكَرَ مِثْلَهُ