Sunan an-Nasa'i, Book 48, Hadith 154 (Nasa'i 5202)

It was narrated from Abu Idris that :

The Prophet saw a gold ring on a man's hand and he struck his finger with a stick that he had with him, until he threw it away.