It was narrated that Abu Hurairah said:
"The Messenger of Allah said: 'Do you crowd one another in order to see the moon on the night when it is full?' They said: 'No.' He said: 'And you will not crowd one another in order to see your Lord on the Day of Resurrection.'" (ID)
English reference (ID): Vol. 1, Book 1, Hadith 178 (ID)
Arabic reference (ID): Book 1, Hadith 183 (ID)