كتاب أحوال القيامة وبدء الخلق
28  
Events of the Day of Resurrection and the Beginning of Creation
(2b)
Chapter: The Assembling - Section 2
(2)
باب الحشر- الفصل الثاني
Mishkat al-Masabih 5545
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.
وَعَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَا مِنْ أَحَدٍ يَمُوتُ إِلَّا نَدِمَ» . قَالُوا: وَمَا نَدَامَتُهُ يَا رَسُولَ اللَّهِ؟ قَالَ: «إِنْ كَانَ مُحْسِنًا نَدِمَ أَنْ لَا يَكُونَ ازْدَادَ وَإِنْ كَانَ مُسِيئًا نَدِمَ أَنْ لَا يكونَ نزع» . رَوَاهُ التِّرْمِذِيّ
Reference : Mishkat al-Masabih 5545
In-book reference : Book 28, Hadith 25