Jami` at-Tirmidhi 3286
Narrated Anas:
"The people of Makkah asked the Prophet (ﷺ) for a sign, so the moon was cleft asunder in Makkah two times (meaning two parts), so the following was revealed: 'The Hour has drawn near, and the moon has been cleft asunder, up to his saying: 'Magic, Mustamir (54:1 & 2)' meaning 'Going away.'"
حَدَّثَنَا عَبْدُ بْنُ حُمَيْدٍ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، عَنْ مَعْمَرٍ، عَنْ قَتَادَةَ، عَنْ أَنَسٍ، قَالَ سَأَلَ أَهْلُ مَكَّةَ النَّبِيَّ صلى الله عليه وسلم آيَةً فَانْشَقَّ الْقَمَرُ بِمَكَّةَ مَرَّتَيْنِ فَنَزَلَت ‏:‏ ‏(‏اقتَرَبَتِ السَّاعَةُ وَانْشَقَّ الْقَمَرُ ‏)‏ إِلَى قَوْلِهِ ‏:‏ ‏(‏سحْرٌ مُسْتَمِرٌّ ‏)‏ يَقُولُ ذَاهِبٌ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏