A man cursed the wind. The narrator Muslim's version has: The wind snatched away a man's cloak during the time of the Prophet ﷺ and he cursed it. The Prophet ﷺ said: Do not curse it, for it is under command, and if anyone curses a thing undeservedly, the curse returns upon him.
وَقَالَ مُسْلِمٌ إِنَّ رَجُلاً نَازَعَتْهُ الرِّيحُ رِدَاءَهُ عَلَى عَهْدِ النَّبِيِّ ﷺ فَلَعَنَهَا فَقَالَ النَّبِيُّ ﷺ لاَ تَلْعَنْهَا فَإِنَّهَا مَأْمُورَةٌ وَإِنَّهُ مَنْ لَعَنَ شَيْئًا لَيْسَ لَهُ بِأَهْلٍ رَجَعَتِ اللَّعْنَةُ عَلَيْهِ