Ruwayfi bin Thabit reported,

The Messenger of Allah ﷺ said, "Ruwayfi, perhaps your life will be prolonged after me, so inform the people that whoever knots his beard, wears a bowstring as a necklace, or cleans himself after relieving nature with animal dung or a bone, Muhammad ﷺ has nothing to do with him."

Azami 15420

Sahih

عن رويفع بن ثابت يقول

إن رسول الله ﷺ قال: يا رويفع لعل الحياة ستطول بك بعدي، فأخبر الناس أنه من عقد لحيته، أو تقلد وترا، أو استنجى برجيع دابة أو عظم، فإن محمدا ﷺ منه بريء.

الأعظمي 15420صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Clothing and adornment
Chapter
Grooming the hair and using perfume
Section
Prohibition of tying the beard
Numbering
Jami al-Kamil 15420 (2nd edition)
Azami 15420