كتاب اللباس والزينة
37  
The Book of Clothes and Adornment
(12)
Chapter: The Prophet (SAW) Wore A Ring Of Silver On Which Was Inscribed The Words Muhammad Rasul Allah (Muhammad the Messenger of Allah), And The Caliphs Wore It After He Died
(12)
بَاب لُبْسِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ خَاتَمًا مِنْ وَرِقٍ نَقْشُهُ مُحَمَّدٌ رَسُولُ اللَّهِ وَلُبْسِ الْخُلَفَاءِ لَهُ مِنْ بَعْدِهِ
Sahih Muslim 2092 b

This hadith has been reported on the authority of Anas through another chain of transmitters but there is no mention of the words (Muhammad, Messenger of Allah) in it.

وَحَدَّثَنَا أَحْمَدُ بْنُ حَنْبَلٍ، وَأَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ وَزُهَيْرُ بْنُ حَرْبٍ قَالُوا حَدَّثَنَا إِسْمَاعِيلُ، - يَعْنُونَ ابْنَ عُلَيَّةَ - عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ، عَنْ أَنَسٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم بِهَذَا وَلَمْ يَذْكُرْ فِي الْحَدِيثِ مُحَمَّدٌ رَسُولُ اللَّهِ ‏.‏
Reference : Sahih Muslim 2092b
In-book reference : Book 37, Hadith 94
USC-MSA web (English) reference : Book 24, Hadith 5215
  (deprecated numbering scheme)