The Messenger of Allah ﷺ had a gold ring made and wore it with the stone facing the inside of his palm, so the people had gold rings made for themselves as well. Then the Messenger of Allah ﷺ threw away his ring and said, "I will never wear it again," and the people threw away their rings as well.
أخبرنا إسحق بن إبراهيم قال أنبأنا المعتمر قال سمعت عبيد الله عن نافع
اتخذ رسول الله ﷺ خاتما من ذهب وجعل فصه من قبل كفه فاتخذ الناس خواتيم الذهب فألقى رسول الله ﷺ خاتمه وقال لا ألبسه أبدا وألقى الناس خواتيمهم
Bukhari reported it in the Book of Clothing, Chapter on the Silver Ring, hadith no. 5866, and Muslim in the Book of Clothing, Chapter on [as mentioned], hadith no. 54/2091, from the hadith of Ubaydullah bin Umar, with this same wording. It is also found in "The Prophet's Wearing of a Ring of Silver" in Kubra, hadith no. 9546.