Solomon's Stables was an underground vaulted space now used as a Muslim prayer hall at the bottom of stairs which lead down from the al-Aqsa Mosque, under the Temple Mount, to the base of the southern wall of the Temple Mount. Solomon's Stables are located under the southeastern corner of the Temple Mount, 12½ metres below the courtyard and feature twelve rows of pillars and arches. In December 1996 the Jerusalem Islamic Waq (an Islamic religious trust) converted the area into a prayer hall by adding lights and floor tiles, and renamed it the Marwani Prayer Hall.
The structure is most widely said to have been built by King Herod as part of his extension of the platform of the Temple Mount southward onto the Ophel. The Herodian engineers constructed the enormous platform as a series of vaulted arches in order to reduce pressure on the retaining walls. These vaults were originally storage areas of the Second Temple. A great deal of the original interior survives in the area of the Herodian staircases, although not in the area now renovated for use as a mosque. Visitors are rarely permitted to enter the areas with Herodian finishes.
The underground space for the most part remained empty except for the Crusaders period. The Crusaders converted it in 1099 into a stable for the cavalry. The rings for tethering horses can still be seen on some of the pillars. The structure has been called Solomon's Stables since Crusader times as a historical composite. 'Solomon's' refers to the First Temple built on the site, while the 'stables' refers to the functional usage of the space by the Crusaders in the time of Baldwin II (King of Jerusalem 1118-1131 CE).
References:Visby Cathedral (also known as St. Mary’s Church) is the only survived medieval church in Visby. It was originally built for German merchants and inaugurated in 1225. Around the year 1350 the church was enlarged and converted into a basilica. The two-storey magazine was also added then above the nave as a warehouse for merchants.
Following the Reformation, the church was transformed into a parish church for the town of Visby. All other churches were abandoned. Shortly after the Reformation, in 1572, Gotland was made into its own Diocese, and the church designated its cathedral.
There is not much left of the original interior. The font is made of local red marble in the 13th century. The pulpit was made in Lübeck in 1684. There are 400 graves under the church floor.