Through the chain of Ibn Shihab (may Allah have mercy on him): I said: "Did you not hear the Messenger of Allah (peace and blessings be upon him)? He (peace and blessings be upon him) said: 'We are not inherited from. Whatever we leave is charity. This wealth is for the family of Muhammad (peace and blessings be upon him), for their emergencies and for their guests; when I die, it will go to whoever is in charge after me.'"
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قسم الفيء والغنيمة / 12738