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

Malik related to me that he heard that a man of the Ansar fromthe tribe of Banu al-Harith ibn al-Khazraj, gave sadaqa to his parentsand then they died. Their son inherited the property he had given themand it was palm-trees. He asked the Messenger of Allah, may Allahbless him and grant him peace, about it and he said, "You are rewardedfor your sadaqa, and take it as your inheritance." Translation Not Available

Book Ref: Muwatta Imam Malik Book 36 Hadith 1457
Web Ref:  Muwatta Imam Malik Book 36 Hadith 54