Narrated 'Aishah: When the Messenger of Allah ﷺ died, the wives of the Prophet ﷺ intended to send 'Uthman b. 'Affan to Abu Bakr to ask him their cost of living from (the inheritance of) the Prophet ﷺ. Thereupon 'Aishah said: Did not the Messenger of Allah ﷺ say: We are not inherited. Whatever we leave is sadaqah.
The values taught by this hadith are generosity, kindness towards others in need, selflessness, unity among all people regardless of their social status or wealth. These values are important for everyone to learn as they help create a better society where everyone can live peacefully together without any discrimination based on wealth or social status.