the First Temple: Built on Mount Moriah on the Threshing-Floor of Ornan Or
Source: TTT
1 Chronicles 21:28–30
At that time, when David saw that the LORD had answered him at the threshing floor of Ornan the Jebusite, he offered sacrifices there. / For the tabernacle of the LORD that Moses had made in the wilderness and the altar of burnt offering were presently at the high place in Gibeon, / but David could not go before it to inquire of God, because he was afraid of the sword of the angel of the LORD.
1 Chronicles 22:2
So David gave orders to gather the foreigners in the land of Israel, from whom he appointed stonecutters to prepare finished stones for building the house of God.
2 Chronicles 3:1
Then Solomon began to build the house of the LORD in Jerusalem on Mount Moriah, where the LORD had appeared to his father David. This was the place that David had prepared on the threshing floor of Ornan the Jebusite.