Sayyiduna Zaid bin Khalid al-Juhani رضي الله عنه narrates: At Hudaybiyyah, the Prophet صلى الله عليه وسلم led us in the morning prayer after it had rained during the night. When the Prophet صلى الله عليه وسلم finished the prayer, he turned towards the people and said, "Do you know what your Lord has said?" The people replied, "Allah and His Messenger know best." The Prophet صلى الله عليه وسلم said, "Allah has said: Some of My servants have believed in Me and some have disbelieved in Me. Whoever says, 'We have received rain by the grace and mercy of Allah,' he is a believer in Me and a disbeliever in the stars. And whoever says, 'We have received rain due to such-and-such star,' he is a disbeliever in Me and a believer in the stars."
Hadith Referenceصحیح ابن حبان / كتاب النجوم والأنواء / 6132
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الإرواء» (681): ق، ومضى (188).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط الشيخين