According to some Hadiths, the Prophet, peace be upon him, described the Aqsa Mosque to the people of Makkah after his night journey that took him to Jerusalem and back. As it is historically known, the temple in Jerusalem was destroyed in the first century and was not rebuilt until the Islamic era. How authentic this Hadith is?
The Hadith that you refer to does not mention the Aqsa Mosque, except as the place where the Prophet, peace be upon him, led all former prophets in a congregational prayer on the site. The Hadith mentions Bait Al-Maqdis, which was the name the Arabs used to refer to Jerusalem, the city, not the shrine.
The Arabs were fully aware of the importance of the city as they passed by it during their travels to Syria for trade and business. Thus, when the Prophet, peace be upon him, told the unbelievers about his night journey, they in their disbelief asked him to describe the city, and it was the image of the city that was given to them by the Prophet, peace be upon him. It is not to be imagined that, had the Aqsa Mosque been there, the Arabs would have given it much attention, as they would have had to compare it with their own shrine, the Ka’aba, which they held in very high esteem.