TABARANI 16207:
from ʿAbdullāh b. Kaʿb b. Mālik from his father —
[Machine] He said to the Messenger of Allah, ﷺ , when he came to him, "O Messenger of Allah, I will give charity from my wealth to Allah and His Messenger." The Messenger of Allah, ﷺ , said to him, "Keep some of your wealth, as it is better for you."
الطبراني ١٦٢٠٧:
عن عبد الله بن كعب بن مالك عن أبيه —
أَنَّهُ قَالَ لِرَسُولِ اللهِ ﷺ حِينَ تِيبَ عَلَيْهِ يَا رَسُولَ اللهِ إِنِّي أَنْخَلِعُ مِنْ مَالِي صَدَقَةً إِلَى اللهِ وَرَسُولِهِ فَقَالَ لَهُ رَسُولُ اللهِ ﷺ «أَمْسِكْ بَعْضَ مَالِكَ فَهُوَ خَيْرٌ لَكَ»
hadithunlocked.com