Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:3285ʿAlī b. Ḥujr > ʿAlī b. Mushir > al-Aʿmash > Ibrāhīm > Abū Maʿmar > Ibn Masʿūd ؓ

"We were with the Messenger of Allah ﷺ in Mina, when the moon was cleft asunder into two parts. Part of it was behind the mountain, and part of it before it. The Messenger of Allah ﷺ said to us: 'Bear witness' meaning: The house has drawn near, and the moon has been cleft asunder (54:1)."  

الترمذي:٣٢٨٥حَدَّثَنَا عَلِيُّ بْنُ حُجْرٍ أَخْبَرَنَا عَلِيُّ بْنُ مُسْهِرٍ عَنِ الأَعْمَشِ عَنْ إِبْرَاهِيمَ عَنْ أَبِي مَعْمَرٍ عَنِ ابْنِ مَسْعُودٍ ؓ قَالَ

بَيْنَمَا نَحْنُ مَعَ رَسُولِ اللَّهِ ﷺ بِمِنًى فَانْشَقَّ الْقَمَرُ فِلْقَتَيْنِ فِلْقَةٌ مِنْ وَرَاءِ الْجَبَلِ وَفِلْقَةٌ دُونَهُ فَقَالَ لَنَا رَسُولُ اللَّهِ ﷺ اشْهَدُوا يَعْنِي (اقتَرَبَتِ السَّاعَةُ وَانْشَقَّ الْقَمَرُ ) قَالَ هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ  


See similar narrations below:

Collected by Muslim
muslim:2800b[Chain 1] Abū Bakr b. Abū Shaybah And ʾAbū Kurayb Waʾisḥāq b. Ibrāhīm > Abū Muʿāwiyah [Chain 2] ʿUmar b. Ḥafṣ b. Ghiyāth from my father > al-Aʿmash [Chain 3] Minjāb b. al-Ḥārith al-Tamīmī > Ibn Mushir > al-Aʿmash > Ibrāhīm > Abū Maʿmar > ʿAbdullāh b. Masʿūd

We were along with Messenger of Allah ﷺ at Mina, that moon was split up into two. One of its parts was behind the mountain and the other one was on this side of the mountain. Messenger of Allah (may peace be upbn him) said to us: Bear witness to this.  

مسلم:٢٨٠٠bحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ وَأَبُو كُرَيْبٍ وَإِسْحَاقُ بْنُ إِبْرَاهِيمَ جَمِيعًا عَنْ أَبِي مُعَاوِيَةَ ح وَحَدَّثَنَا عُمَرُ بْنُ حَفْصِ بْنِ غِيَاثٍ حَدَّثَنَا أَبِي كِلاَهُمَا عَنِ الأَعْمَشِ ح وَحَدَّثَنَا مِنْجَابُ بْنُ الْحَارِثِ التَّمِيمِيُّ وَاللَّفْظُ لَهُ أَخْبَرَنَا ابْنُ مُسْهِرٍ عَنِ الأَعْمَشِ عَنْ إِبْرَاهِيمَ عَنْ أَبِي مَعْمَرٍ عَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ قَالَ

بَيْنَمَا نَحْنُ مَعَ رَسُولِ اللَّهِ ﷺ بِمِنًى إِذَا انْفَلَقَ الْقَمَرُ فِلْقَتَيْنِ فَكَانَتْ فِلْقَةٌ وَرَاءَ الْجَبَلِ وَفِلْقَةٌ دُونَهُ فَقَالَ لَنَا رَسُولُ اللَّهِ ﷺ اشْهَدُوا