1 Chronicles 21:22-27

22 Then David said to Ornan, Give me the place of this threshing floor, that I may build thereon an altar to Yahweh: for the full price shall you give it me, that the plague may be stayed from the people.  23 Ornan said to David, Take it to you, and let my lord the king do that which is good in his eyes: behold, I give you the oxen for burnt offerings, and the threshing instruments for wood, and the wheat for the meal-offering; I give it all.  24 King David said to Ornan, No; but I will most assuredly buy it for the full price: for I will not take that which is your for Yahweh, nor offer a burnt-offering without cost.  25 So David gave to Ornan for the place six hundred shekels of gold by weight.  26 David built there an altar to Yahweh, and offered burnt offerings and peace-offerings, and called on Yahweh; and he answered him from the sky by fire on the altar of burnt offering.  27 Yahweh commanded the angel; and he put up his sword again into the sheath of it.