Jami` at-Tirmidhi Book 47, Hadith 341
from his father who said: "The moon was split during the time of the Messenger of Allah (ﷺ) until it became as two sections, one above this mountain and one above that mountain. So they said: 'Muhammad has cast a spell upon us.' Some of them said: 'If he could cast a spell upon us, he can not cast a spell upon all of the people.'"
"The moon was split during the time of the Messenger of Allah (ﷺ). So the Messenger of Allah (ﷺ) said: 'Bear witness.'"
"The idolaters of the Quraish came to the Messenger of Allah (ﷺ) arguing about Qadar, so the following was revealed: The day they will be dragged on their faces into the Fire. Taste you the touch of Hell! Verily, We have created all things with Qadar (54:48 & 49)."