Abu Tufayl reported,

Ali was asked, "Did the Messenger of Allah ﷺ single you out with anything special?"He replied, "The Messenger of Allah ﷺ did not single us out with anything that he did not extend to all people, except for what is in the sheath of this sword of mine."He then took out a document on which was written, "Allah curses whoever slaughters for other than Allah. Allah curses whoever steals the boundary markers of the land. Allah curses whoever curses his father. Allah curses whoever shelters an innovator."

Muslim 5126

Sahih

حدثنا محمد بن المثنى ومحمد بن بشار واللفظ لابن المثنى قالا حدثنا محمد بن جعفر حدثنا شعبة قال سمعت القاسم بن أبي بزة يحدث

عن أبي الطفيل قال

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

مسلم 5126صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Sacrificial animals
Chapter
Prohibition of slaughtering for other than Allah and cursing the one who does so
Numbering
Darussalam 5126
Muslim 5126