Sunan Abi Dawud 2977
Grading supplied with this record: Hasan (Al-Albani)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
لاَ نُورَثُ مَا تَرَكْنَا فَهُوَ صَدَقَةٌ وَإِنَّمَا هَذَا الْمَالُ لآلِ مُحَمَّدٍ لِنَائِبَتِهِمْ وَلِضَيْفِهِمْ فَإِذَا مِتُّ فَهُوَ إِلَى مَنْ وَلِيَ الأَمْرَ مِنْ بَعْدِي "
A similar tradition has been narrated by Ibn Shihab through a different chain of narrators. This version says:
I said: Do you not fear Allah ? Did you not hear the Messenger of Allah (ﷺ) say: We are not inherited. Whatever we leave is sadaqah (alms). This property belongs to the family of Muhammad for their emergent needs and their guest. When I die, it will go to him who becomes ruler after me.
Full reference and source
Sunan Abi Dawud 2977 In-book : Book 20, Hadith 50 English translation : Book 19, Hadith 2971
View source on Sunnah.com (opens in a new tab)