لَا تَسُبُّوا الرِّيحَ، فَإِذَا رَأَيْتُمْ مَا تَكْرَهُونَ فَقُولُوا: اللَّهُمَّ إِنَّا نَسْأَلُكَ مِنْ خَيْرِ هَٰذِهِ الرِّيحِ وَخَيْرِ مَا فِيهَا وَخَيْرِ مَا أُمِرَتْ بِهِ، وَنَعُوذُ بِكَ مِنْ شَرِّ هَٰذِهِ الرِّيحِ وَشَرِّ مَا فِيهَا وَشَرِّ مَا أُمِرَتْ بِهِ
La tasubbu-r-rih, fa idha ra'aytum ma takrahuna faqulu: Allahumma inna nas'aluka min khayri hadhihi-r-rihi wa khayri ma fiha wa khayri ma umirat bih, wa na'udhu bika min sharri hadhihi-r-rihi wa sharri ma fiha wa sharri ma umirat bih.
Do not curse the wind. If you see something you dislike, say: O Allah, we ask You for the good of this wind, the good within it, and the good it has been commanded with. And we seek refuge in You from the evil of this wind, the evil within it, and the evil it has been commanded with.
Virtue
The Prophet ﷺ forbade cursing the wind and taught this supplication instead.