From Sahih Bukhari (Hadith 4864):
Narrated Ibn Masud:During the lifetime of Allah's Messenger (ﷺ) the moon was split into two parts; one part remained over the mountain, and the other part went beyond the mountain. On that, Allah's Messenger (ﷺ) said, "Witness this miracle
Reference: Bukhari 4864