Sayyiduna Ibn Abbas (may Allah be pleased with them) reports: A man cursed the wind in the presence of the Prophet (peace and blessings be upon him), so the Prophet (peace and blessings be upon him) said: "Do not curse it, for it is under the command of Allah, and whoever curses something that does not deserve to be cursed, the curse returns upon the one who uttered it."
Hadith Referenceمعجم صغير للطبراني / كتاب الادب / 722
Hadith Gradingمحدثین:إسناده صحيح
Hadith Takhrij«إسناده صحيح ، وأخرجه أبو داود فى «سننه» برقم: 4908، والترمذي فى «جامعه» برقم: 1978 ، قال الشيخ الألباني: صحيح ، وابن حبان فى «صحيحه» برقم: 5745، والطبراني فى«الكبير» برقم: 12757، والطبراني فى «الصغير» برقم: 957، والبزار فى «مسنده» برقم: 5330»
Narrated Abdullah ibn Abbas: 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.
Shaykh Umar Farooq Saeedi
Benefits and Issues: Some have also declared this narration to be authentic; therefore, it is not permissible to curse Allah’s creation except those whom Allah and His Messenger (sallallahu alayhi wa sallam) have cursed. For example: the disbelievers, the wrongdoers, the liars, and so on. As is mentioned in the supplication of Qunoot Nazilah: (اللَّهُمَّالْعَنِالْكَفَرَةَأَهْلَالْكِتَابِالَّذِينَيُكَذِّبُونَرُسُلَكَ ، وَيُقَاتِلُونَأَوْلِيَاءَكَ) “O Allah, curse the disbelievers from among the People of the Book who deny Your messengers and fight Your friends.” “O Allah, send Your curse upon those disbelievers who hinder from Your path, deny Your messengers, and fight Your allies.”
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 4908