Sahih al-Bukhari 6690
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا أَحْمَدُ بْنُ صَالِحٍ، حَدَّثَنَا ابْنُ وَهْبٍ، أَخْبَرَنِي يُونُسُ، عَنِ ابْنِ شِهَابٍ، أَخْبَرَنِي عَبْدُ الرَّحْمَنِ، عَنْ عَبْدِ اللَّهِ بْنِ كَعْبِ بْنِ مَالِكٍ، وَكَانَ، قَائِدَ كَعْبٍ مِنْ بَنِيهِ حِينَ عَمِيَ ـ قَالَ سَمِعْتُ كَعْبَ بْنَ مَالِكٍ، فِي حَدِيثِهِ {َعَلَى الثَّلاَثَةِ الَّذِينَ خُلِّفُوا} َقَالَ فِي آخِرِ حَدِيثِهِ إِنَّ مِنْ تَوْبَتِي أَنِّي أَنْخَلِعُ مِنْ مَالِي صَدَقَةً إِلَى اللَّهِ وَرَسُولِهِ. فَقَالَ النَّبِيُّ صلى الله عليه وسلم أَمْسِكْ عَلَيْكَ بَعْضَ مَالِكَ فَهْوَ خَيْرٌ لَكَ "."
Narrated Ka`b bin Malik:
In the last part of his narration about the three who remained behind (from the battle of Tabuk). (I said) "As a proof of my true repentance (for not joining the Holy battle of Tabuk), I shall give up all my property for the sake of Allah and His Apostle (as an expiation for that sin)." The Prophet (ﷺ) said (to me), "Keep some of your wealth, for that is better for you."
Full reference and source
Sahih al-Bukhari 6690 In-book : Book 83, Hadith 67 USC-MSA web (English) : Vol. 8, Book 78, Hadith 681 (deprecated)
View source on Sunnah.com (opens in a new tab)