Sahih Muslim 1760
Sahih Muslim · Book 32: The Book of Jihad and Expeditions · The words of the Prophet (saws): "We (Prophets) have no heirs and whatever we leave behind is charity."
حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى بْنِ أَبِي عُمَرَ الْمَكِّيُّ ، حَدَّثَنَا سُفْيَانُ ، عَنْ أَبِي الزِّنَادِ ، بِهَذَا الإِسْنَادِ . نَحْوَهُ .
A similar hadith has been narrated on the authority of Abu Zinad through a different chain of transmitters.