Sahih Bukhari | Volume 5 | Hadith Number 468

Narrated by Zaid bin Khalid
We went out with Allah's Apostle in the year of Al-Hudaibiya. One night it rained and Allah's Apostle led us in the Fajr prayer and (after finishing it), turned to us and said, " Do you know what your Lord has said?" We replied, "Allah and His Apostle know it

better." He said, "Allah said: "(Some of) My slaves got up believing in Me, And (some of them) disbelieving in Me. The one who said: We have been given Rain through Allah's Mercy and Allah's Blessing and Allah's Bounty, Then he is a believer in Me, and is a Disbeliever in the star. And whoever said: We have been given rain because of such-and- such star, Then he is a believer in the star, and is a disbeliever in Me."