وَعَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَا مِنْ أَحَدٍ يَمُوتُ إِلَّا نَدِمَ» . قَالُوا: وَمَا نَدَامَتُهُ يَا رَسُولَ اللَّهِ؟ قَالَ: «إِنْ كَانَ مُحْسِنًا نَدِمَ أَنْ لَا يَكُونَ ازْدَادَ وَإِنْ كَانَ مُسِيئًا نَدِمَ أَنْ لَا يكونَ نزع» . رَوَاهُ التِّرْمِذِيّ
He reported God's messenger as saying, "Everyone who dies will repent." He was asked the nature of their repentance and replied, "If one did what was good, he will repent of not having done more, and if one did evil, he will repent of not having restrained himself." Tirmidhi transmitted it.