Hadithcore
Sahih Muslim, 1017 g
sahih

Jarir b. 'Abdullah reported Allah's Messenger (ﷺ) as saying:

The servant does not introduce good practice which is followed after him.... The rest of the hadith is the same.

حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا يَحْيَى، - يَعْنِي ابْنَ سَعِيدٍ - حَدَّثَنَا مُحَمَّدُ بْنُ أَبِي، إِسْمَاعِيلَ حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ هِلاَلٍ الْعَبْسِيُّ، قَالَ قَالَ جَرِيرُ بْنُ عَبْدِ اللَّهِ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏

‏ لاَ يَسُنُّ عَبْدٌ سُنَّةً صَالِحَةً يُعْمَلُ بِهَا بَعْدَهُ ‏

‏ ‏.‏ ثُمَّ ذَكَرَ تَمَامَ الْحَدِيثِ ‏.‏

References2 variants
In-Book Reference
Book 47, Hadith 28
USC-MSA web (English) reference
Book 34, Hadith 6468 (deprecated numbering scheme)