1 Chronicles 21:26-28

21:26 David built there an altar to the Lord and offered burnt sacrifices and peace offerings. He called out to the Lord, and the Lord responded by sending fire from the sky and consuming the burnt sacrifice on the altar. 21:27 The Lord ordered the messenger to put his sword back into its sheath.

21:28 At that time, when David saw that the Lord responded to him at the threshing floor of Ornan the Jebusite, he sacrificed there.