The people of Mecca asked the Prophet ﷺ to show them a sign (miracle). So he showed them (the miracle) of the cleaving of the moon.
سَأَلَ أَهْلُ مَكَّةَ أَنْ يُرِيَهُمْ آيَةً فَأَرَاهُمُ انْشِقَاقَ الْقَمَرِ
The people of Mecca asked the Prophet ﷺ to show them a sign (miracle). So he showed them (the miracle) of the cleaving of the moon.
سَأَلَ أَهْلُ مَكَّةَ أَنْ يُرِيَهُمْ آيَةً فَأَرَاهُمُ انْشِقَاقَ الْقَمَرِ
That the Meccan people requested Messenger of Allah ﷺ to show them a miracle, and so he showed them the splitting of the moon.
أَنَّ أَهْلَ مَكَّةَ سَأَلُوا رَسُولَ اللَّهِ ﷺ أَنْ يُرِيَهُمْ آيَةً فَأَرَاهُمُ انْشِقَاقَ الْقَمَرِ
During the lifetime of Messenger of Allah ﷺ the moon was split into two parts; one part remained over the mountain, and the other part went beyond the mountain. On that, Messenger of Allah ﷺ said, "Witness this miracle."
انْشَقَّ الْقَمَرُ عَلَى عَهْدِ رَسُولِ اللَّهِ ﷺ فِرْقَتَيْنِ فِرْقَةً فَوْقَ الْجَبَلِ وَفِرْقَةً دُونَهُ فَقَالَ رَسُولُ اللَّهِ ﷺ اشْهَدُوا
The moon was cleft asunder while we were in the company of the Prophet, and it became two parts. The Prophet ﷺ said, Witness, witness (this miracle).
انْشَقَّ الْقَمَرُ وَنَحْنُ مَعَ النَّبِيِّ ﷺ فَصَارَ فِرْقَتَيْنِ فَقَالَ لَنَا اشْهَدُوا اشْهَدُوا
The moon was cleft asunder during the lifetime of the Prophet.
انْشَقَّ الْقَمَرُ فِي زَمَانِ النَّبِيِّ ﷺ
[Machine] The people of Makkah asked the Messenger of Allah ﷺ to show them a miracle, so he showed them the splitting of the moon twice.
أَنَّ أَهْلَ مَكَّةَ سَأَلُوا رَسُولَ اللهِ ﷺ أَنْ يُرِيَهُمْ آيَةً قَالَ فَأَرَاهُمْ انْشِقَاقَ الْقَمَرِ مَرَّتَيْنِ
That the Meccan people requested Messenger of Allah ﷺ to show them a miracle, and so he showed them the splitting of the moon. (Using translation from Bukhārī 3637)
أَنَّ أَهْلَ مَكَّةَ سَأَلُوا رَسُولَ اللهِ ﷺ أَنْ يُرِيَهُمْ آيَةً فَأَرَاهُمْ انْشِقَاقَ الْقَمَرِ مَرَّتَيْنِ