عَنْ مُعَاوِيَةَ اللَّيْثِيِّ رَضِيَ اللَّهُ عَنْهُ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ يَكُونُ النَّاسُ مُجْدَبِينَ فَيَنْزِلُ اللَّهُ تَبَارَكَ وَتَعَالَى عَلَيْهِمْ رِزْقًا مِنْ رِزْقِهِ فَيُصْبِحُونَ مُشْرِكِينَ فَقِيلَ لَهُ وَكَيْفَ ذَاكَ يَا رَسُولَ اللَّهِ قَالَ يَقُولُونَ مُطِرْنَا بِنَوْءِ كَذَا
It is narrated from Sayyiduna Muawiyah Laithi (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: When people are afflicted by famine and Allah Almighty sends down His sustenance (in the form of rain), they become polytheists. Someone asked: O Messenger of Allah! How is that? He (peace and blessings be upon him) said: People say that it rained because of such-and-such star.