Sunan Abi Dawud, Book 21, Hadith 3313 (USC-MSA)

Narrated Ka'b ibn Malik: Ka'b ibn Malik said to AbuLubabah; or someone else whom Allah wished; or to the Prophet: To make my repentance complete I should depart from the house of my people in which I fell into sin, and that I should divest myself of all my property as sadaqah (alms). He said: A third (of your property) will be sufficient for you.

حَدَّثَنِي عُبَيْدُ اللَّهِ بْنُ عُمَرَ، حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنِ الزُّهْرِيِّ، عَنِ ابْنِ كَعْبِ بْنِ مَالِكٍ، عَنْ أَبِيهِ، أَنَّهُ قَالَ لِلنَّبِيِّ صلى الله عليه وسلم أَوْ أَبُو لُبَابَةَ أَوْ مَنْ شَاءَ اللَّهُ ‏:‏ إِنَّ مِنْ تَوْبَتِي أَنْ أَهْجُرَ دَارَ قَوْمِي الَّتِي أَصَبْتُ فِيهَا الذَّنْبَ، وَأَنْ أَنْخَلِعَ مِنْ مَالِي كُلِّهِ صَدَقَةً ‏.‏ قَالَ ‏:‏ ‏ "‏ يُجْزِئُ عَنْكَ الثُّلُثُ ‏" ‏ ‏.‏

sunnah.com