Jami` at-Tirmidhi Book 48, Hadith 183
The Messenger of Allah (ﷺ) said: “Whoever supplicates against the one who wronged him has triumphed.”
“The Prophet (ﷺ) used to supplicate, saying: “My Lord, aid me and do not aid against me, and grant me victory and do not grant victory over me, plot for me and do not plot against me, guide me and facilitate guidance for me, grant me victory over those who transgress against me. My Lord, make me ever-grateful to You, ever-remembering of You, ever-fearful of You, ever-obedient to You, ever-humble to You, oft-turning and returning to You. My Lord, accept my repentance, wash my sin, answer my call, make firm my proof, make firm my tongue, guide my heart, and remove the treachery of my chest (Rabbi a`innī wa lā tu`in `alayya, wanṣurnī wa lā tanṣur `alayya, wamkur lī wa lā tamkur `alayya, wahdinī wa yassiril-huda lī, wanṣurnī `alā man baghā `alayya. Rabbij`alnī laka shakkāran, laka dhakkāran, laka rahhāban, laka miṭwā`an, laka mukhbitan, ilaika awwāhan munība. Rabbi taqabbal tawbatī, waghsil ḥawbatī, wa ajib da`watī, wa thabbit ḥujjatī, wa saddid lisānī, wahdi qalbī, waslul sakhīmata ṣadrī).”
“Whoever says ten times: ‘None has the right to be worshipped by Allah, Alone, without partner, to Him belongs all that exists, and to Him belongs the praise, wa huwa `alā kulli shai’in qadīr)’ it is for him equal to freeing four slaves among the offspring of Isma`il.”