Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said: There was a lunar eclipse in the time of the Messenger of Allah (peace and blessings be upon him), and the people said: The moon has been bewitched. Thereupon these verses were revealed: "The Hour has drawn near and the moon has split" up to "continuous" [Surah al-Qamar: 1-2].
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11592