(1766)
Prophet Muhammad (PBUH) says:
دعوه المظلوم مستجاب و ان كان فاجرا ففجوره علی نفس
The oppressed prayer has accepted, though he is evil. His malice is about himself.
Nahj al -Fashah Hadith 1574
islamquotes.org
NOTE: Translated with Google Translate