Musnad Ahmad 1307
It was narrated that Abu Tufail said:
Ali (رضي الله عنه) was asked: “Did the Messenger of Allah (ﷺ) say anything to you exclusively; He said: “The Messenger of Allah (ﷺ) did not say anything to us exclusively that he did not say to all the people, except what is in the sheath of this sword of mine. He took out a document on which was written `May Allah curse the one who offers a sacrifice to anyone other than Allah; may Allah curse the one who steals the boundary markers; may Allah curse the one who curses his father; may Allah curse the one who gives refuge to an offender.`
حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا شُعْبَةُ، قَالَ سَمِعْتُ الْقَاسِمَ بْنَ أَبِي بَزَّةَ، يُحَدِّثُ عَنْ أَبِي الطُّفَيْلِ، قَالَ سُئِلَ عَلِيٌّ رَضِيَ اللَّهُ عَنْهُ هَلْ خَصَّكُمْ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِشَيْءٍ فَقَالَ مَا خَصَّنَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِشَيْءٍ لَمْ يَعُمَّ بِهِ النَّاسَ كَافَّةً إِلَّا مَا كَانَ فِي قِرَابِ سَيْفِي هَذَا قَالَ فَأَخْرَجَ صَحِيفَةً فِيهَا مَكْتُوبٌ لَعَنَ اللَّهُ مَنْ ذَبَحَ لِغَيْرِ اللَّهِ لَعَنَ اللَّهُ مَنْ سَرَقَ مَنَارَ الْأَرْضِ وَلَعَنَ اللَّهُ مَنْ لَعَنَ وَالِدَهُ وَلَعَنَ اللَّهُ مَنْ آوَى مُحْدِثًا‏.‏