Riyad as-Salihin (The Meadows of the Righteous)
by Imam Nawawi
265. Chapter: On the permission to curse some of those who rebel against Allah without specifying them
Allah Almighty says, "Allah's curse is on the wrongdoers," (11:18)
and the Almighty says, "Between them a herald will proclaim, 'May the curse of Allah is on the wrongdoers." (7:44)
It is affirmed in the Sahih that the Messenger of Allah, may Allah bless him and grant him peace, said, "Allah has cursed anyone who joins hair together and the person asks for it to be joined, "Allah has cursed the one who consumes usury," "He has cursed those make images", "Allah has cursed the one who alters the borders of the land," "Allah curses the thief who steals an egg," 'Allah curses the one who curses his parents," and "Allah curses the one who sacrifices to other than Allah." He also said, "If someone innovates in it or shelters an innovator, the curse of Allah, the angels and all people is on him," and "O Allah, curse Ri'l, Dhakwan, 'Usayya: they have disobeyed Allah and His Messenger." (These were three Arabs tribes.) He said, "Allah has cursed the Jews who took the graves of their Prophets as mosques" and "Allah has cursed men who try to look like women and women who try to look like men."
All of these expressions are sound and some are in the Sahih collections of al-Bukhari and Muslim, and some of them are in one of the two collections. We simply indicated them here for the sake of brevity and most are mentioned in various chapters of this book.