From Sahih Bukhari (Hadith 5650):
Narrated Al-Bara bin Azib:Allah's Messenger (ﷺ) ordered us to do seven things and forbade us to do seven other things. He forbade us to wear gold rings, silk, Dibaj, Istabriq, Qissy, and Maithara; and ordered us to accompany funeral processions, visit the sick and greet everybody. (See Hadith No)
Reference: Bukhari 5650