Mishkat al-Masabih #1517
Funerals
The Arabic includes the chain of narration (sanad) and the collector's commentary; the English translation shows the Prophet's words only.
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا يَتَمَنَّى أَحَدُكُمُ الْمَوْتَ إِمَّا مُحْسِنًا فَلَعَلَّهُ أَنْ يَزْدَادَ خَيْرًا وَإِمَّا مُسِيئًا فَلَعَلَّهُ أَنْ يستعتب» . رَوَاهُ البُخَارِيّ
Abu Huraira reported God’s messenger as saying, "None of you must wish for death; neither one who does well, for perhaps he may do still more good, nor one who does ill, for perhaps he may seek to please God.”
Bukhari transmitted it.
Topics
About Mishkat al-Masabih
This hadith is #1517 from Mishkat al-Masabih, in the Book of Funerals.