Sahih Muslim 72
Sahih Muslim · Book 1: The Book of Faith · Clarifying the Kufr of one who says: "We got rain because of the stars."
It is reported on the authority of Abu Huraira that the Messenger of Allah (may peace and blessing be upon him) observed:
وَحَدَّثَنِي مُحَمَّدُ بْنُ سَلَمَةَ الْمُرَادِيُّ ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ ، عَنْ عَمْرِو بْنِ الْحَارِثِ ، ح وَحَدَّثَنِي عَمْرُو بْنُ سَوَّادٍ ، أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ ، أَخْبَرَنَا عَمْرُو بْنُ الْحَارِثِ ، أَنَّ أَبَا يُونُسَ ، مَوْلَى أَبِي هُرَيْرَةَ حَدَّثَهُ عَنْ أَبِي هُرَيْرَةَ ، عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ " مَا أَنْزَلَ اللَّهُ مِنَ السَّمَاءِ مِنْ بَرَكَةٍ إِلاَّ أَصْبَحَ فَرِيقٌ مِنَ النَّاسِ بِهَا كَافِرِينَ يُنْزِلُ اللَّهُ الْغَيْثَ فَيَقُولُونَ الْكَوْكَبُ كَذَا وَكَذَا " وَفِي حَدِيثِ الْمُرَادِيِّ " بِكَوْكَبِ كَذَا وَكَذَا " .
Allah does not shower His blessings from the heaven that in the morning a group of men disbelieve it (to be a blessing from Allah). Allah sends down rain, but they (the disbelievers) say: Such and such star (is responsible for that).