We said to Ali, "Tell us something the Messenger of Allah ﷺ confided to you in private."He replied, "He did not confide to me anything that he hid from the people. But I heard him say, 'Allah curses the one who slaughters for other than Allah. Allah curses the one who shelters a criminal. Allah curses the one who curses his parents. And Allah curses the one who alters the boundary markers of the land,'" meaning the landmarks.
حدثنا عبد الله حدثنا أبو بكر بن أبي شيبة حدثنا أبو خالد الأحمر عن منصور بن حيان
قلنا لعلي أخبرنا بشيء أسره إليك رسول الله ﷺ فقال ما أسر إلي شيئا كتمه الناس ولكن سمعته يقول لعن الله من ذبح لغير الله ولعن الله من آوى محدثا ولعن الله من لعن والديه ولعن الله من غير تخوم الأرض يعني المنار
Its isnad is sahih. Abu Khalid Ahmar is Sulayman bin Hayan Azdi, and he is trustworthy, firmly reliable, honest, a man of sunnah. Mansur bin Hayan bin Husayn Asadi is trustworthy. Abu Hatim said, he was among the most firmly reliable of people. Bukhari gave his biography in al-Kabir 4/1/347.The hadith was also narrated by Muslim and Nasai, as noted in al-Jami al-Saghir 7282.Al-Tukhum with the ta pronounced fatha is a singular, its plural being tukham with two dammas, like rasul and rusul, this being the dialect of the Kufans, and Jawaliqi transmitted from Abu Ubayd that it is the position of the grammarians. Al-Tukhum with the ta pronounced damma is a plural, its singular being takhm with the ta as fatha and the kha silent, this being the dialect of the Basrans, and also the dialect of the people of Sham as Jawaliqi transmitted from Abu Ubayd. See al-Muarrab, in our edition, pages 87-88.This hadith is among the additions of Abdullah bin Ahmad.