The Messenger of Allah ﷺ said, "There will come a time when people are afflicted by drought, and Allah will send down upon them provision from His provision, yet they will rise the next morning as polytheists."Someone asked him, "How is that, Messenger of Allah?"He replied, "They say, 'We were given rain by such-and-such a star.'"
حدثنا سليمان بن داود الطيالسي حدثنا عمران يعني القطان عن قتادة عن نصر بن عاصم الليثي
قال رسول الله ﷺ يكون الناس مجدبين فينزل الله تبارك وتعالى عليهم رزقا من رزقه فيصبحون مشركين فقيل له وكيف ذاك يا رسول الله قال يقولون مطرنا بنوء كذا وكذا
No references are available.
Its isnad is hasan due to Imran bin Dawwar Qattan Abu Awwam, who is truthful but has some errors and was accused of holding the view of the Khawarij, and the hadith is sahih, having previously appeared at 10746, and it is found in the Sahih collections.