The Hour has drawn near, and the moon has been cleft asunder. the Day of Judgment had not happened yet.
Bukhari 3868: Narrated Anas bin Malik: The people of Mecca asked Allah’s Apostle to show them a miracle. So he showed them the moon split in two halves between which they saw the Hira’ mountain.
Hadith are not scriptures from Allah, there are tons of those hadith from the Sunni and the Shia sources on falsehood written on the life of the Prophet.
The Hour of Judgment at S54:1 had not happened yet but is coming –
S54:1 The Hour (of Judgment) is nigh, and the moon is cleft asunder.
S69:15-16 Then on that Day, the Resurrection will occur, And the heaven will split open, for that Day it is infirm.
S20:14-15 Indeed, I am Allah. There is no deity except Me, so worship Me and establish prayer for My remembrance. Indeed, the Hour is coming I almost conceal it so that every soul may be recompensed according to that for which it strives.
S25:25 And [mention] the Day when the heaven will split open with emerging clouds, and the angels will be sent down in successive descent.
There is no miracle done by the Prophet Muhammed, he only received the Book the Qur’an that can be considered the only miracle as it is still preserved in the original language Arabic and memorized by millions of Muslims all over the world.
S17:59 And We refrain from sending the signs, only because the men of former generations treated them as false: We sent the she-camel to the Thamud to open their eyes, but they treated her wrongfully: We only send the Signs by way of terror and warning from evil.
S29:50-51 But they say, “Why are not signs sent down to him from his Lord?” Say, “The signs are only with Allah, and I am only a clear warner.” And is it not sufficient for them that We revealed to you the Book which is recited to them? Indeed in that is a mercy and reminder for a people who believe.