Abdullah bin Abbas (may Allah be pleased with them both) said that the Prophet (peace and blessings be upon him) saw a gold ring on a man's hand. He took it off, threw it away and said: "One of you deliberately takes an ember of fire and puts it on his hand." After the Prophet (peace and blessings be upon him) had left, the man was told: "Pick up your ring and make use of it." He said: "By Allah! I will never pick up what the Prophet (peace and blessings be upon him) has thrown away."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4214