Musnad Ahmad 855
It was narrated that Abut-Tufail said:
We said to `Ali: Tell us of something that the Messenger of Allah (ﷺ) told you in secret. He said: He did not tell me anything in secret that he concealed from the people, but I heard him say: `May Allah curse the one who slaughters in the name of something other than Allah, may Allah curse the one who gives refuge to an offender, may Allah curse the one who curses his parents and may Allah curse the one who changes the boundary markers.”
حَدَّثَنَا عَبْد اللَّهِ، حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو خَالِدٍ الْأَحْمَرُ، عَنْ مَنْصُورِ بْنِ حَيَّانَ، عَنْ أَبِي الطُّفَيْلِ، قَالَ قُلْنَا لِعَلِيٍّ أَخْبِرْنَا بِشَيْءٍ، أَسَرَّهُ إِلَيْكَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ مَا أَسَرَّ إِلَيَّ شَيْئًا كَتَمَهُ النَّاسَ وَلَكِنْ سَمِعْتُهُ يَقُولُ لَعَنَ اللَّهُ مَنْ ذَبَحَ لِغَيْرِ اللَّهِ وَلَعَنَ اللَّهُ مَنْ آوَى مُحْدِثًا وَلَعَنَ اللَّهُ مَنْ لَعَنَ وَالِدَيْهِ وَلَعَنَ اللَّهُ مَنْ غَيَّرَ تُخُومَ الْأَرْضِ يَعْنِي الْمَنَارَ‏.‏