Musnad Ahmad 333
It was narrated from Malik bin Aws that al-Hadathan said:
‘Umar sent word to me... and he mentioned the hadeeth. I said to you both]: The Messenger of Allah (ﷺ) said: `We are not to be inherited from and what we leave behind is charity.`
حَدَّثَنَا عَبْدُ الرَّزَّاقِ، حَدَّثَنَا مَعْمَرٌ، عَنِ الزُّهْرِيِّ، عَنْ مَالِكِ بْنِ أَوْسِ بْنِ الْحَدَثَانِ، قَالَ أَرْسَلَ إِلَيَّ عُمَرُ رَضِيَ اللَّهُ عَنْهُ فَذَكَرَ الْحَدِيثَ فَقُلْتُ لَكُمَا إِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ لَا نُورَثُ مَا تَرَكْنَا صَدَقَةٌ‏.‏