Ibn Abbas reported: A man cursed the wind in front of the Prophet, peace and blessings be upon him. The Prophet said, “Do not curse the wind, for it only acts as it was commanded. Verily, whoever curses anything that does not deserve it, the curse will backfire against him.”
Source: Sunan al-Tirmidhī 1978
Grade: Sahih (authentic) according to Al-Albani
عَنْ ابْنِ عَبَّاسٍ أَنَّ رَجُلًا لَعَنَ الرِّيحَ عِنْدَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ لَا تَلْعَنْ الرِّيحَ فَإِنَّهَا مَأْمُورَةٌ وَإِنَّهُ مَنْ لَعَنَ شَيْئًا لَيْسَ لَهُ بِأَهْلٍ رَجَعَتْ اللَّعْنَةُ عَلَيْهِ
1978 سنن الترمذي كتاب البر والصلة باب ما جاء في اللعنة
1978 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الترمذي