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 give to all people in general, 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 sacrifices to other than Allah. Allah curses whoever steals the boundary markers of the land. Allah curses whoever curses his father. Allah curses whoever shelters a criminal."

Ahmad 954

Sahih

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

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

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

أحمد 954صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Ali bin Abu Talib
Numbering
Darussalam 954
Ahmad 954