Sayyiduna Abd al-Rahman bin Abza (may Allah be pleased with him) narrates from Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) that he said: "A strong wind blew and a man cursed it, whereupon the Prophet (peace and blessings be upon him) said: 'Do not curse it; rather, ask Allah for its good, the good that is in it, and the good with which it has been sent, and seek refuge with Allah from its evil, the evil that is in it, and the evil with which it has been sent.'"
Imam al-Nasa'i (may Allah have mercy on him) narrated it in this way in his book 'Amal al-Yawm wa al-Laylah'.
And Imam al-Nasa'i and Imam al-Tirmidhi (may Allah have mercy on them both) both narrated it through Ishaq bin Ibrahim bin Habib bin al-Shahid, from Muhammad bin Fudayl, from al-A'mash, from Habib, from Dharr, from Sa'id, from his father; and Imam al-Tirmidhi (may Allah have mercy on him) said: "This hadith is hasan sahih."
And Imam al-Nasa'i (may Allah have mercy on him) also narrated it in it (the book 'Amal al-Yawm wa al-Laylah') from Ibn al-Muthanna, in agreement with the previous chain, but Dharr (bin Abdullah) is not mentioned in it.
And Imam al-Nasa'i (may Allah have mercy on him) narrated it in it from Ishaq bin Rahwayh, from Jarir; and also from Ibn al-Muthanna, from Yahya bin Hammad, all of them from al-A'mash, from Habib, from Dharr, from Sa'id, from his father, from Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) as his own saying.
And from Bundar, from Ibn Abi Adi, from Shu'bah, from Habib, from Dharr, from Sa'id, from his father.
And from Ishaq bin Mansur, from al-Nadr bin Shumayl, from Shu'bah, from Habib, from Dharr, from Ibn Abd al-Rahman, from his father, from Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) as his own saying; and those two (narrators) did not narrate it as marfu' (attributed to the Prophet (peace and blessings be upon him)).