18 And Gad came that day to David, and said to him, Go up, raise an altar to the LORD in the threshing floor of Araunah the Jebusite.
2 Samuel 24:18 Cross References - AKJV
2 Samuel 24:11
11 For when David was up in the morning, the word of the LORD came to the prophet Gad, David's seer, saying,
1 Chronicles 21:18-30
18 Then the angel of the LORD commanded Gad to say to David, that David should go up, and set up an altar to the LORD in the threshing floor of Ornan the Jebusite.
19 And David went up at the saying of Gad, which he spoke in the name of the LORD.
20 And Ornan turned back, and saw the angel; and his four sons with him hid themselves. Now Ornan was threshing wheat.
21 And as David came to Ornan, Ornan looked and saw David, and went out of the threshing floor, and bowed himself to David with his face to the ground.
22 Then David said to Ornan, Grant me the place of this threshing floor, that I may build an altar therein to the LORD: you shall grant it me for the full price: that the plague may be stayed from the people.
23 And Ornan said to David, Take it to you, and let my lord the king do that which is good in his eyes: see, I give you the oxen also for burnt offerings, and the threshing instruments for wood, and the wheat for the meat offering; I give it all.
24 And king David said to Ornan, No; but I will truly buy it for the full price: for I will not take that which is your for the LORD, nor offer burnt offerings without cost.
25 So David gave to Ornan for the place six hundred shekels of gold by weight.
26 And David built there an altar to the LORD, and offered burnt offerings and peace offerings, and called on the LORD; and he answered him from heaven by fire on the altar of burnt offering.
27 And the LORD commanded the angel; and he put up his sword again into the sheath thereof.
28 At that time when David saw that the LORD had answered him in the threshing floor of Ornan the Jebusite, then he sacrificed there.
29 For the tabernacle of the LORD, which Moses made in the wilderness, and the altar of the burnt offering, were at that season in the high place at Gibeon.
30 But David could not go before it to inquire of God: for he was afraid because of the sword of the angel of the LORD.