It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) (the narrator said: to the best of my knowledge it is from Ibn Abbas (may Allah be pleased with them both)) that the Messenger of Allah (peace and blessings be upon him) recited Surah al-Najm. When he (peace and blessings be upon him) reached this place: "Have you considered al-Lat and al-Uzza, and Manat, the third, the other?", Satan cast these words onto his (peace and blessings be upon him) tongue: "These are the exalted Gharaniq, and their intercession is hoped for." Then when he (peace and blessings be upon him) reached the end of the surah, he prostrated, and the Muslims and the polytheists prostrated as well. Then Allah, the Mighty and Majestic, revealed this verse: "And We did not send before you any messenger or prophet except that when he recited, Satan cast", up to His words: "the punishment of a barren Day." (The narrator said:) This means the Day of Badr.
In the narration of Ibn Marduyah the wording is "and their intercession is hoped for" (in the feminine form), and at its end it says that he said: "the Day of Badr"; the rest of the narration is the same.