Allah the Exalted said:
٢٦٥ - باب جواز لعن أصحاب المعاصي غير المعينين
Allah the Exalted said:
And who is more unjust than he who invents a lie about Allāh? Those will be presented before their Lord, and the witnesses will say, "These are the ones who lied against their Lord." Unquestionably, the curse of Allāh is upon the wrongdoers.
And He the Exalted said:
And the companions of Paradise will call out to the companions of the Fire, "We have already found what our Lord promised us to be true. Have you found what your Lord promised to be true?" They will say, "Yes." Then an announcer will announce among them, "The curse of Allāh shall be upon the wrongdoers
It is established in the authentic collection that the Messenger of Allah ﷺ said: "Allah has cursed the woman who joins hair and the woman who has it joined for her." And that he said: "Allah has cursed the one who consumes usury." And that he cursed those who make images. And that he said: "Allah has cursed the one who alters the boundary-marks of the land" — that is, its borders. And that he said: "Allah has cursed the thief who steals an egg." And that he said: "Allah has cursed the one who curses his parents," and: "Allah has cursed the one who sacrifices to other than Allah." And that he said: "Whoever introduces an innovation into it (Madinah), or shelters one who does so, upon him is the curse of Allah, the angels, and all people." And that he said: "O Allah, curse Riʿl, Dhakwān, and ʿUṣayyah: they disobeyed Allah and His Messenger" — these being three tribes of the Arabs. And that he said: "Allah has cursed the Jews; they took the graves of their prophets as places of worship." And that he "cursed men who imitate women and women who imitate men."
All of these wordings are in the authentic collection: some of them are in both Ṣaḥīḥ al-Bukhārī and Ṣaḥīḥ Muslim, and some in one of the two. I have intended only brevity by alluding to them, and I shall mention most of them in their respective chapters of this book, if Allah the Exalted wills.