On the prohibition against a man attributing rain to a star

Riyad as-Salihin (The Meadows of the Righteous)

by Imam Nawawi

325. Chapter: On the prohibition against a man attributing rain to a star

1731. Zayd ibn Khalid said, "The Prophet, may Allah bless him and grant him peace, led us in the Subh prayer at Hudaybiyya after a rainy night. When he finished, he faced the people and said, 'Do you know what your Lord has said?' They said, 'Allah and His Messenger know best.' He said, 'This morning My slaves have become divided up into believers and unbelievers. Those who said, "We had rain by the favour and mercy of Allah," believe in Me and reject the stars. Those who said that it was because of a certain star, disbelieve in Me and believe in the star." [Agreed upon]