Sahih al-Bukhari, Book 55, Hadith 39 (Bukhari 2664)

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."