Sayyiduna Abu Hurayrah (may Allah be pleased with him) said that Sayyiduna Abu Dharr (may Allah be pleased with him) looked at Sayyiduna Abu Hurayrah (may Allah be pleased with him), who had a sword ornamented with silver, and said: I heard the Messenger of Allah (peace and blessings be upon him) say: "Whoever leaves behind silver or gold will be branded with it on the Day of Resurrection." He said: So he threw it away.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الزكاة / 7582