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."
Sahih al-Bukhari Book 55, Hadith 39