1 Chronicles 21:28-30

28 At that time, when David saw that the LORD had answered him on the threshing floor of Araunah the Jebusite, he offered sacrifices there.
29 The tabernacle of the LORD, which Moses had made in the wilderness, and the altar of burnt offering were at that time on the high place at Gibeon.
30 But David could not go before it to inquire of God, because he was afraid of the sword of the angel of the LORD.