A very Powerful Quranic Dua / supplication For Istighfar (the act of seeking forgiveness from Allah) made the prophet Adam (A.S) to get Allah’s mercy to get rid of any type of danger, calamity, problem, etc.
The dua which Allah taught Prophet Adam (A.S) for asking forgiveness is given in the following: رَبَّنَا ظَلَمْنَا أَنفُسَنَا وَإِن لَّمْ تَغْفِرْ لَنَا وَتَرْحَمْنَا لَنَكُونَنَّ مِنَ الْخَاسِرِينَ Rabbana thalamna anfusana wain lam taghfir lana watarhamna lanakoonanna mina alkhasireena “Our Lord! We have wronged ourselves. If You forgive us not, and bestow not upon us Your Mercy, we shall certainly be of the losers.” Al-Qur’an, 007.023 (Al-Araf [The Heights])
