Dua - When someone is in a difficulty
الْحَمْدُ لِلَّهِ الَّذِي عَافَانِي مِمَّا ابْتَلَاكَ بِهِ وَفَضَّلَنِي عَلَى كَثِيرٍ مِمَّنْ خَلَقَ تَفْضِيلَاً
"All praise belongs to Allah who has saved me from such a condition which is afflicted on you and favoured me over many creations". The virtues of this dua is that the reciter will be saved from the difficulties he has seen.
Read the dua softly so that the person in difficulty may not hear it, on the other hand if the person in difficulty is engaged in sin then it should be read aloud so that they may learn a lesson.