2 Samuel 24:18-24 ESV
And Gad came that day to David and said to him, “Go up, raise an altar to the LORD on the threshing floor of Araunah the Jebusite.” So David went up at Gad’s word, as the LORD commanded. And when Araunah looked down, he saw the king and his servants coming on toward him. And Araunah went out and paid homage to the king with his face to the ground. And Araunah said, “Why has my lord the king come to his servant?” David said, “To buy the threshing floor from you, in order to build an altar to the LORD, that the plague may be averted from the people.” Then Araunah said to David, “Let my lord the king take and offer up what seems good to him. Here are the oxen for the burnt offering and the threshing sledges and the yokes of the oxen for the wood. All this, O king, Araunah gives to the king.” And Araunah said to the king, “May the LORD your God accept you.” But the king said to Araunah, “No, but I will buy it from you for a price. I will not offer burnt offerings to the LORD my God that cost me nothing.” So David bought the threshing floor and the oxen for fifty shekels of silver.
ESV: English Standard Version 2016