Abdullah bin Abbas (may Allah be pleased with them both) said: When this verse was revealed: "And those who hoard gold and silver" [Surah al-Tawbah: 34], it weighed heavily upon the Muslims. They said: None of us is able to leave any wealth for his child that would remain after him. So Umar (may Allah be pleased with him) said: I will resolve this difficulty for you. Then Umar (may Allah be pleased with him) and Thawban (may Allah be pleased with him) both came to the Prophet (peace and blessings be upon him) and said: O Prophet of Allah! This verse has weighed heavily upon your Companions. The Prophet (peace and blessings be upon him) said: "Allah Almighty has made zakah obligatory only to purify by it what remains of your wealth, and He has appointed inheritance in your wealth that remains after you." Umar (may Allah be pleased with him) then proclaimed the takbir. Then (the Prophet (peace and blessings be upon him)) said: "Shall I not tell you of the best treasure that a man can store up? It is a righteous wife: when you look at her she pleases you, when you command her she obeys, and when he is absent she guards his wealth and honour."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الزكاة / 7235