Joseph Smith joined the Free Masons in 1842, prior to establishing the LDS temple ritual (History of the Church, by Joseph Smith, Deseret Book, 1978, Vol.4, Ch.32, p.550-2). This experience seems to have sparked his imagination and shortly thereafter he introduced his own secret ceremony, with similar wording and gestures. In the Encyclopedia of Mormonism we read:
The introduction of Freemasonry in NAUVOO had both political and religious implications….Eventually nearly 1,500 LDS men became associated with Illinois Freemasonry, including many members of the Church’s governing priesthood bodies—this at a time when the total number of non-LDS Masons in Illinois lodges barely reached 150. (Encyclopedia of Mormonism, vol.2, p.527)
While the Masonic ceremony centers on the story of Hiram Abiff and the building of Solomon’s temple, the LDS ritual focuses on the creation story and the fall of Adam and Eve. In Smith’s new ritual the initiate is dressed in a white garment with the markings of the Masonic compass and square embroidered on the area of the breast. Smith also copied the Masonic handshakes, passwords, penalty oaths and the embrace on the five points of fellowship. However, in 1990 the LDS leaders revised their ceremony and some of these elements were removed, such as the embrace on the five points of fellowship. For further information on the LDS temple ritual, see this article: http://www.utlm.org/newsletters/no75.htm.
The early Jewish Christians met in the courtyard of the temple in Jerusalem and in one another’s homes (Acts 2:46-47) but they did not have access to the temple itself for any type of ceremony.