Refuge from Enemy / Harm / Danger / Authority

To invoke Allah against Al-Mushrikun(58)باب الدُّعَاءِ عَلَى الْمُشْرِكِينَ
Narrated Ibn Abi `Aufa: Allah's Messenger (ﷺ) asked for Allah's wrath upon the Ahzab (confederates), saying, "O Allah, the Revealer of the Holy Book, and the One swift at reckoning! Defeat the confederates; Defeat them and shake them."Narrated Abu Musa: The Prophet (ﷺ) used to invoke Allah with the following invocation: 'Rabbi-ghfir-li Khati 'ati wa jahli wa israfi fi `Amri kullihi, wa ma anta a'lamu bihi minni. Allahumma ighfirli khatayaya wa 'amdi, wa jahli wa jiddi, wa kullu dhalika'indi. Allahumma ighrifli ma qaddamtu wa ma akhartu wa ma asrartu wa ma a'lantu. Anta-l-muqaddimu wa anta-l-mu'akh-khiru, wa anta 'ala kulli shai'in qadir.'

Dua upon encountering an enemy or those of authority
From the permissible invocations to be said in this regard also is حَسْبُنَا اللَّهُ وَنِعْمَ الوَكِيلُ “Hasbunallaahu wa ni’amal-wakeel” [Allah (Alone) is Sufficient for us, and He is the Best Disposer of affairs (for us)]. It was reported in Sahih Al Bukhari on the authority of `Abdullah ibn`Abbas رضي الله عنه who said: “Hasbuna Allahu Wa Ni`ma Al Wakil” was said by Abraham when he was thrown into fire; and it was said by Muhammad ﷺ when they (i.e. hypocrites) said: A great army is gathering against you, therefore, fear them, but it only increased their faith and they said: Allah is Sufficient for us, and He is the Best Disposer (of affairs, for us). [Surat Ali `Imran: 173].” [Sahih Al Bukhari, No. 4563]

poverty, insufficiency and humiliation
It was narrated from Abu Hurairah that : the Messenger of Allah (saas) said: "Seek refuge with Allah from poverty, insufficiency and humiliation, and from wronging (others) and being wronged.'"