1 Chronicles 21:16-26

16 David saw the angel standing in midair, holding his sword in his hand, ready to destroy Jerusalem. Then David and the leaders of the people - all of whom were wearing sackcloth - bowed low, with their faces touching the ground.
17 David prayed, "O God, I am the one who did wrong. I am the one who ordered the census. What have these poor people done? Lord, my God, punish me and my family, and spare your people."
18 The angel of the Lord told Gad to command David to go and build an altar to the Lord at Araunah's threshing place.
19 David obeyed the Lord's command and went, as Gad had told him to.
20 There at the threshing place Araunah and his four sons were threshing wheat, and when they saw the angel, the sons ran and hid.
21 As soon as Araunah saw King David approaching, he left the threshing place and bowed low, with his face touching the ground.
22 David said to him, "Sell me your threshing place, so that I can build an altar to the Lord, to stop the epidemic. I'll give you the full price."
23 "Take it, Your Majesty," Araunah said, "and do whatever you wish. Here are these oxen to burn as an offering on the altar, and here are the threshing boards to use as fuel, and wheat to give as an offering. I give it all to you."
24 But the king answered, "No, I will pay you the full price. I will not give as an offering to the Lord something that belongs to you, something that costs me nothing."
25 And he paid Araunah six hundred gold coins for the threshing place.
26 He built an altar to the Lord there and offered burnt offerings and fellowship offerings. He prayed, and the Lord answered him by sending fire from heaven to burn the sacrifices on the altar.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.