It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: Whenever Allah the Exalted sends down blessings (rain) from the sky, a group of His servants begins to show ingratitude for it. Allah sends down the rain, and they say that it happened due to the influence of such-and-such star.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 9463