Sahih Muslim · Hadith 4684
The Book of Jihad and Expedition - كتاب الجهاد والسير
وحدثني ابن أبي خلف، حدثنا زكرياء بن عدي، أخبرنا ابن المبارك، عن يونس، عن الزهري، عن الأعرج، عن أبي هريرة، عن النبي صلى الله عليه وسلم قال " لا نورث ما تركنا صدقة " .
It his been narrated on the authority of Abu Huraira that the Messenger of Allah (may peace be upon him) said: " We do not have any heirs; what we leave behind is a charitable endowment."
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).