Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Allah does not send down any blessing from the sky without a group of people becoming disbelievers because of it. Allah sends down the rain, and they say, 'It came from such-and-such a star.'"In the narration of al-Muradi, the wording is, "By such-and-such a star."

Muslim 233

Sahih

و حدثني محمد بن سلمة المرادي حدثنا عبد الله بن وهب عن عمرو بن الحارث ح و حدثني عمرو بن سواد أخبرنا عبد الله بن وهب أخبرنا عمرو بن الحارث أن أبا يونس مولى أبي هريرة حدثه

عن أبي هريرة

عن رسول الله ﷺ قال ما أنزل الله من السماء من بركة إلا أصبح فريق من الناس بها كافرين ينزل الله الغيث فيقولون الكوكب كذا وكذا وفي حديث المرادي بكوكب كذا وكذا

مسلم 233صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Faith
Chapter
Clarification of the disbelief of one who says "We were given rain by the stars"
Numbering
Darussalam 233
Muslim 233