Narrated `Abdullah bin Masud
During the lifetime of the Prophet (ﷺ) the moon was split into two parts and on that the Prophet (ﷺ) said, "Bear witness (to thus).
Narrated Anas
That the Meccan people requested Allah's Messenger (ﷺ) to show them a miracle, and so he showed them the splitting of the moon.
Narrated Ibn `Abbas
The moon was split into two parts during the lifetime of the Prophet.