Ayesha reported,

Fatimah and Abbas came to Abu Bakr seeking their inheritance, namely his land at Fadak and his share from Khaybar.Abu Bakr said, "I heard the Prophet ﷺ say, 'We are not inherited from. Whatever we leave behind is charity. The family of Muhammad may only eat from this wealth.' By Allah, maintaining ties with the relatives of the Messenger of Allah ﷺ is dearer to me than maintaining ties with my own relatives."

Azami 9391

Sahih

عن عائشة

أن فاطمة والعباس أتيا أبا بكر يلتمسان ميراثهما: أرضه من فدك، وسهمه من خيبر. فقال أبو بكر: سمعت النبي ﷺ يقول: لا نورث ما تركنا صدقة، إنما يأكل آل محمد في هذا المال. والله لقرابة رسول الله ﷺ أحب إلي أن أصل من قرابتي.

الأعظمي 9391صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Nearness of his death, his foretelling of it, his passing, and his burial
Section
Prophet ﷺ did not leave behind any inheritance of dinars or dirhams
Numbering
Jami al-Kamil 9391 (2nd edition)
Azami 9391