Safwan bin Salim narrates that the Messenger of Allah ﷺ said: "Do not curse or speak ill of the wind, and seek Allah's protection from the evil that is in it."
Hadith Referenceمسند الإمام الشافعي / كتاب العيدين والأضاحي والاستسقاء / 535
Hadith Takhrijاسناده ضعيف لضعف من لا يتهمه الشافعي وهو ابراهيم بن محمد ولإرساله : اخرجه البيهقي في المعرفة السنن والآثار (2030)۔
It is narrated from Abu Hurairah (may Allah be pleased with him) that he said: On the way to Makkah, people were overtaken by wind, and Umar (may Allah be pleased with him) was going for Hajj. The wind became strong, so Umar (may Allah be pleased with him) asked those around him: Has any command regarding the wind reached you (from the Prophet ﷺ)? The people did not give any answer. Abu Hurairah (may Allah be pleased with him) says: I came to know about what Umar (may Allah be pleased with him) had asked regarding the wind. I hurried my camel until I reached Umar (may Allah be pleased with him), even though I was at the end of the people. I said: O Commander of the Faithful! I have learned that you inquired about the wind. I heard the Messenger of Allah ﷺ say: "The wind is by the command of Allah; it brings both mercy and punishment. Do not speak ill of it. Ask Allah for the good that is in it, and seek refuge with Allah from the evil that is in it."
Hadith Referenceمسند الإمام الشافعي / كتاب العيدين والأضاحي والاستسقاء / 536
Hadith Takhrijأخرجه ابوداود، الأدب ، باب ما يقول اذا هاجت الريح (5097) ۔ وابن ماجة، الأدب، باب النهي عن سب الريح (3727) ۔ وصححه ابن حبان (1989) ۔ والحاكم 4 / 285 ـ ووافقه الذهبي۔
It is narrated from Ibn Abbas (may Allah be pleased with him) that he said: Whenever a strong wind blew, the Prophet (ﷺ) would sit on his knees and recite: "O Allah! Make it a mercy, not a punishment. O Allah! Make it a means of comfort, not a calamity." Ibn Abbas (may Allah be pleased with him) says: It is in the Book of Allah: And We sent upon them a violent, raging wind. (__QUR_54_19__) And We sent upon them a barren wind. (__QUR_51_41__) And We send the laden winds. (__QUR_15_22__) And He sends the winds as glad tidings. (__QUR_30_46__)
Hadith Referenceمسند الإمام الشافعي / كتاب العيدين والأضاحي والاستسقاء / 537
Hadith Takhrijاسناده ضعيف لضعف من لا يتهمه الشافعي وهو ابراهيم بن محمد : اخرجه البيهقي في المعرفة السنن والآثار (2029) وابو يعلى (2456)۔