Jami` at-Tirmidhi, Book 47, Hadith 3596 (In-Book)

Narrated Ibn Mas'ud, may Allah be pleased with him: "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)."

حَدَّثَنَا عَلِيُّ بْنُ حُجْرٍ، أَخْبَرَنَا عَلِيُّ بْنُ مُسْهِرٍ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ، عَنْ أَبِي مَعْمَرٍ، عَنِ ابْنِ مَسْعُودٍ، رَضِيَ اللَّهُ عَنْهُ قَالَ بَيْنَمَا نَحْنُ مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم بِمِنًى فَانْشَقَّ الْقَمَرُ فِلْقَتَيْنِ فِلْقَةٌ مِنْ وَرَاءِ الْجَبَلِ وَفِلْقَةٌ دُونَهُ فَقَالَ لَنَا رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ اشْهَدُوا ‏"‏ ‏.‏ يَعْنِي ‏:‏ ‏(‏اقتَرَبَتِ السَّاعَةُ وَانْشَقَّ الْقَمَرُ ‏)‏ قَالَ هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏

sunnah.com