I heard ‘Amir bin Wathilah say: it was said to ʿAli bin Abi Talib ؓ . Tell Us of something that the Messenger of Allah ﷺ told you in secret. He said: The Messenger of Allah did not say anything to me in secret and conceal it from the people, but I heard him say: ʿMay Allah curse the one who reviles his parents, may Allah curse the one who changes the boundary markers, and may Allah curse the one who gives refuge to an offender.”
أَخْبِرْنَا بِشَيْءٍ أَسَرَّ إِلَيْكَ رَسُولُ اللهِ ﷺ فَقَالَ مَا أَسَرَّ إِلَيَّ رَسُولُ اللهِ ﷺ شَيْئًا وَكَتَمَهُ النَّاسَ وَلَكِنْ سَمِعْتُهُ يَقُولُ لَعَنَ اللهُ مَنْ سَبَّ وَالِدَيْهِ وَلَعَنَ اللهُ مَنْ غَيَّرَ تُخُومَ الْأَرْضِ وَلَعَنَ اللهُ مَنْ آوَى مُحْدِثًا