2 Samuel 24:17-21
English Standard Version
18And 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."
19So David went up at Gad 's word, as the Lord commanded.
20And 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.
21And 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."