It is narrated from Sayyiduna Abu Tha'labah (may Allah be pleased with him) that a man came and sat with the Prophet (peace and blessings be upon him), and there was a gold ring on his hand. The Prophet (peace and blessings be upon him) struck his hand with a stick that was in his own hand. Then, when the Prophet (peace and blessings be upon him) turned his attention away from him, the man threw his ring away. He (peace and blessings be upon him) looked at him and asked: "Where is your ring?" He said: I threw it away. The Prophet (peace and blessings be upon him) said: "I think we must have caused you pain and loss."
Hadith Referenceالمعجم الكبير للطبراني / باب اللام ألف / 18799