Abu Hurairah reported,

A man came to the Prophet ﷺ, and he urged the people to give in charity to him.A man said, "I have such and such."Not a single person remained in the gathering without giving him something in charity, whether little or much.The Messenger of Allah ﷺ said, "Whoever sets a good example and others follow it will receive his full reward, along with a share of the rewards of those who follow him, without their rewards being diminished in the least. And whoever sets a bad example and others follow it will bear his full sin, along with a share of the sins of those who follow him, without their sins being diminished in the least."

Ibn Majah 204

Sahih

حدثنا عبد الوارث بن عبد الصمد بن عبد الوارث حدثني أبي قال حدثني أبي عن أيوب عن محمد بن سيرين

عن أبي هريرة قال

جاء رجل إلى النبي ﷺ فحث عليه فقال رجل عندي كذا وكذا قال فما بقي في المجلس رجل إلا تصدق عليه بما قل أو كثر فقال رسول الله ﷺ من استن خيرا فاستن به كان له أجره كاملا ومن أجور من استن به ولا ينقص من أجورهم شيئا ومن استن سنة سيئة فاستن به فعليه وزره كاملا ومن أوزار الذي استن به ولا ينقص من أوزارهم شيئا

ابن ماجه 204صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Sunnah
Chapter
Whoever establishes a good or evil practice
Numbering
Darussalam 204
Ibn Majah 204