I heard the Messenger of Allah ﷺ say, "Allah grants people a blessing during the night, yet by morning most of them deny it, saying, 'We were given rain by such and such a star.'"The narrator said, I related this hadith to Saeed bin Musayab, who replied, "We too heard this from Abu Hurairah."
حدثنا يحيى بن آدم حدثنا عبدة يعني ابن سليمان عن محمد بن إسحاق عن محمد بن إبراهيم عن سلمان قال سمعت
سمعت رسول الله ﷺ يقول إن الله عز وجل ليبيت القوم بالنعمة ثم يصبحون وأكثرهم كافرون يقولون مطرنا بنجم كذا وكذا قال فحدثت بهذا الحديث سعيد بن المسيب فقال ونحن قد سمعنا ذلك من أبي هريرة
No references are available.
Its isnad is sahih. Bukhari related it 2/41 in "Praying for Rain," under the saying of Allah, "And you make your provision that you deny (Allah)" [Waqiah 56:82], as did Muslim 1/83 no. 17, and Abu Dawud 4/16 no. 3906.