Allah's Messenger (ﷺ) said, "My heirs will not inherit a Dinar or a Dirham (i.e. money)…

Sahih al-Bukhari Book 55 Hadith 39

Sahih al-Bukhari #2776

Wills and Testaments (Wasaayaa) 55:39

Narrated Abu Huraira:

Allah's Messenger (ﷺ) said, "My heirs will not inherit a Dinar or a Dirham (i.e. money), for whatever I leave (excluding the adequate support of my wives and the wages of my employees) is given in charity."

Chapter: The salary of the administrator of an endowment

Grade: Sahih