Sahih al-Bukhari, Book 85, Hadith 4 (Bukhari 6482)

Narrated `Aisha:

The Prophet (ﷺ) said, "Our (Apostles') property should not be inherited, and whatever we leave, is to be spent in charity."