Shaqq al-Qamar (Arabic: شَقُّ القَمَر), or the splitting of the moon, was a miracle by the Prophet Muhammad (s). According to Islamic sources, the Prophet (s) pointed his finger to the moon, and then the moon was split into two parts. The miracle occurred in the early years after Bi'tha. Some objections have been raised about whether the story is true, and some Muslim scholars have tried to reply to these objections.
According to al-Shaykh al-Tusi, Muslims had consensus over the occurrence of Shaqq al-Qamar, and since denials appeared years later, they do not undermine the validity of the consensus. However, there are disagreements in hadiths with regard to details and how the event took place. According to hadiths, the Prophet (s) split the moon into two parts as a miracle, and then returned it to the original state. This part of the story is agreed upon by Islamic sources.
Accounts of the Shaqq al-Qamar miracle can be found in historical, hadith, and exegetical sources. The story appears in historical sources, such as al-Bidaya wa l-nihaya, al-Fitan, al-Khara'ij wa l-jara'ih, and Miqrizi's Imta' al-asma'. Qadi Abd al-Rahman al-Iji takes hadiths of Shaqq al-Qamar to be mutawatir.