It is narrated from Sayyiduna Mu'awiyah al-Laythi (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "People become stricken by drought, then Allah sends them provision from Himself, and they become polytheists, saying: 'We were given rain because of such-and-such a star.'"
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 17092