From Sahih Bukhari (Hadith 5865):
Narrated `Abdullah:Allah's Messenger (ﷺ) wore a gold or silver .. ring and placed its stone towards the palm of his hand. The people also started wearing gold rings like it, but when the Prophet (ﷺ) saw them wearing such rings, he threw away that golden ring and then wore a silver ring
Reference: Bukhari 5865