ABUDAWUD 2977:
from Alā Tattaqīn Allāh Alam —
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.
أبو داود ٢٩٧٧:
عن الا تتقين الاه الم —
تَسْمَعْنَ رَسُولَ اللَّهِ ﷺ يَقُولُ لاَ نُورَثُ مَا تَرَكْنَا فَهُوَ صَدَقَةٌ وَإِنَّمَا هَذَا الْمَالُ لآلِ مُحَمَّدٍ لِنَائِبَتِهِمْ وَلِضَيْفِهِمْ فَإِذَا مِتُّ فَهُوَ إِلَى مَنْ وَلِيَ الأَمْرَ مِنْ بَعْدِي
hadithunlocked.com