It is narrated from Sayyiduna al-Abbas bin Abd al-Muttalib (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Allah, the Mighty and Majestic, has purified this town of shirk (associating partners with Allah), provided the stars do not lead them astray." Abu Ya'la recorded it with a chain that contains a break (inqita'), while in another narration of his with a connected chain, Sayyiduna al-Abbas (may Allah be pleased with him) said: "I went out of Madinah with the Messenger of Allah (peace and blessings be upon him), and he (peace and blessings be upon him) turned towards it and said: 'Allah, the Mighty and Majestic, has freed this Peninsula (of Arabia) from shirk, except that the stars may lead them astray.' The Companions (may Allah be pleased with them) said: O Messenger of Allah (peace and blessings be upon him), how will the stars lead them astray? He (peace and blessings be upon him) said: 'Allah, the Mighty and Majestic, sends down rain, and the people say: We were given rain by the influence of such-and-such a star (or lunar mansion).'"