It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that a man cursed the wind, 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 it, that curse returns upon (the one who curses) himself."
Hadith Referenceالأحاديث المختارة / عبد الله بن عباس بن عبد المطلب / 3491
Hadith Takhrij«أخرجه ابن حبان فى صحيحه برقم: 5751، والضياء المقدسي فى الأحاديث المختارة برقم: 3492، 3493، وأبو داود فى سننه برقم: 4893، والترمذي فى جامعه برقم: 2117، والبزار فى مسنده برقم: 5336، والطبراني فى الكبير برقم: 12792، والطبراني فى الصغير برقم: 958»