Sunan Ibn Majah, Book 22, Hadith 2812 (In-Book)

It was narrated from 'Amir bin Sa'd that his father said: “I became sick during the year of the Conquest, and was at death's door. The Messenger of Allah came to visit me and I said: 'O Messenger of Allah, I have a great deal of wealth and no one will inherit from me apart from my daughter. Can I give two thirds of my wealth in charity?' He said: 'No.' I said: 'Then half?' He said: 'No.' I said: 'One third?' He said: One third and one third is a lot. If you leave your heirs rich that is better than leaving them destitute and begging from people.”

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

sunnah.com