Mishkat al-Masabih 109
وَعَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: "" سِتَّةٌ لَعَنْتُهُمْ وَلَعَنَهُمُ اللَّهُ وَكُلُّ نَبِيٍّ يُجَابُ: الزَّائِدُ فِي كِتَابِ اللَّهِ وَالْمُكَذِّبُ بِقَدَرِ اللَّهِ وَالْمُتَسَلِّطُ بِالْجَبَرُوتِ لِيُعِزَّ مَنْ أَذَلَّهُ اللَّهُ وَيُذِلَّ مَنْ أَعَزَّهُ اللَّهُ وَالْمُسْتَحِلُّ لِحَرَمِ اللَّهِ وَالْمُسْتَحِلُّ مِنْ عِتْرَتِي مَا حَرَّمَ اللَّهُ وَالتَّارِكُ لِسُنَّتِي "". رَوَاهُ الْبَيْهَقِيّ فِي الْمدْخل ورزين فِي كِتَابه
From ʿAʾishah, may Allah be pleased with her, who said: The Messenger of Allah ﷺ said: "Six [people] I have cursed, and Allah has cursed them, and every prophet's prayer is answered: the one who adds to the Book of Allah; the one who denies the decree of Allah; the one who takes power by tyranny to honour whom Allah has humiliated and humiliate whom Allah has honoured; the one who makes lawful the sanctity of Allah; the one who makes lawful from my family what Allah has forbidden; and the one who abandons my Sunnah." Reported by al-Bayhaqi in al-Madkhal and by Razin in his book.