Sahih al-Bukhari — Laws of Inheritance (Al-Faraa'id) — Hadith No: 6729
Translation
Narrated Abu Huraira:Allah's Messenger (ﷺ) said, "Not even a single Dinar of my property should be distributed (after my deaths to my inheritors, but whatever I leave excluding the provision for my wives and my servants, should be spent in charity)