Dua for Freedom from Oppression :
عَلَى ٱللَّهِ تَوَكَّلْنَا رَبَّنَا لَا تَجْعَلْنَا فِتْنَةً لِّلْقَوْمِ ٱلظَّٰلِمِينَ وَنَجِّنَا بِرَحْمَتِكَ مِنَ ٱلْقَوْمِ ٱلْكَٰفِرِينَ
In Allah we trust. Our Lord! Do not subject
us to the persecution of the oppressive people
and deliver us by Your mercy from the disbelieving people
Reference : This is dua of believers who were oppressed by pharaoh.
Quran 10:84-86
وَقَالَ مُوسَىٰ يَـٰقَوْمِ إِن كُنتُمْ ءَامَنتُم بِٱللَّهِ فَعَلَيْهِ تَوَكَّلُوٓا۟ إِن كُنتُم مُّسْلِمِينَ 84
فَقَالُواَ۟لَى ٱللَّهِ تَوَكَّلْنَا رَبَّنَا لَا تَجْعَلْنَا فِتْنَةًۭ لِّلْقَوْمِ ٱلظَّـٰلِمِينَ 85
وَنَجِّنَا بِرَحْمَتِكَ مِنَ ٱلْقَوْمِ ٱلْكَـٰفِرِينَ 86
And Moses said, “O my people, if you have believed in Allāh, then rely upon Him,
if you should be Muslims [i.e., submitting to Him].” So they said, “Upon Allāh do
we rely. Our Lord, make us not [objects of] trial for the wrongdoing people, and
deliver us by Your mercy from the disbelieving people.”