The Prophet ﷺ said
When something bad happens
إِنَّا لِلهِ وَإِنَّا إِلَيْهِ رَاجِعُونَ، اللَّهُمَّ أْجُرْنِي فِي مُصِيبَتِي، وَأَخْلِفْ لِي خَيْرًا مِنْهَا
Innā lillāhi wa innā ilayhi rājiʿūn, Allāhumma-ʾjurnī fī muṣībatī, wa akhlif lī khayran minhā.
Truly we belong to Allah, and truly to Him we will return; O Allah, reward me in my calamity, and replace it for me with something better.
Our translation, checked against sunnah.com
Muslim 918 · SahihThe Prophet ﷺ said
Instead of “if only”
When something didn’t go your way, say this instead of “if only I had…”
قَدَرُ اللَّهِ وَمَا شَاءَ فَعَلَ
Qadaru Llāhi wa mā shāʾa faʿal.
Allah has decreed, and whatever He wills, He does.
Translation: HadeethEnc
Muslim 2664 · SahihThe Prophet ﷺ said
When the Prophet ﷺ saw something he disliked
الْحَمْدُ لِلَّهِ عَلَى كُلِّ حَالٍ
Al-ḥamdu lillāhi ʿalā kulli ḥāl.
Praise be to Allah in every circumstance.
Our translation, checked against sunnah.com
Ibn Majah 3803 · Graded differentlyIn the Hilm app
Du’as sorted by the moment you’re in, from the Qur’an and graded hadith, each with its source.

The Arabic, the transliteration and the sources are the ones the Hilm app uses.