Sahih al-Bukhari
Sahih al-Bukhari 7233
Arabic hadith text
حَدَّثَنَا حَسَنُ بْنُ الرَّبِيعِ، حَدَّثَنَا أَبُو الأَحْوَصِ، عَنْ عَاصِمٍ، عَنِ النَّضْرِ بْنِ أَنَسٍ، قَالَ قَالَ أَنَسٌ ـ رضى الله عنه ـ لَوْلاَ أَنِّي سَمِعْتُ النَّبِيَّ صلى الله عليه وسلم يَقُولُ " لاَ تَتَمَنَّوُا الْمَوْتَ " لَتَمَنَّيْتُ.
Translation
Al-Naḍr ibn Anas reported that Anas said: “If I had not heard the Prophet say, ‘Do not wish for death,’ I would have wished for it.”
Translation notes
Anas’s statement is explicitly conditional on the Prophet’s prohibition against wishing for death.