Hadith on Astrology: Whoever has faith in stars, disbelieves in Allah

Zayd ibn Khalid reported: The Messenger of Allah, peace and blessings be upon him, said, “Allah said: Among my servants are those who awaken with faith in me and disbelief in me. Whoever said we have been given rain due to the favor and mercy of Allah, he is a believer in me and a disbeliever in the stars. Whoever said we have been given rain due to the rising of this star, he has disbelieved in me and has put his faith in the stars.”

Source: Ṣaḥīḥ al-Bukhārī 810, Ṣaḥīḥ Muslim 71

Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim

عَنْ زَيْدِ بْنِ خَالِدٍ الْجُهَنِيِّ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ  قَالَ أَصْبَحَ مِنْ عِبَادِي مُؤْمِنٌ بِي وَكَافِرٌ فَأَمَّا مَنْ قَالَ مُطِرْنَا بِفَضْلِ اللَّهِ وَرَحْمَتِهِ فَذَلِكَ مُؤْمِنٌ بِي كَافِرٌ بِالْكَوْكَبِ وَأَمَّا مَنْ قَالَ مُطِرْنَا بِنَوْءِ كَذَا وَكَذَا فَذَلِكَ كَافِرٌ بِي مُؤْمِنٌ بِالْكَوْكَبِ

810 صحيح البخاري أبواب صفة الصلاة باب يستقبل الإمام الناس إذا سلم

71 صحيح مسلم كتاب الإيمان باب بيان كفر من قال مطرنا بالنوء