1 Chronicles 21:26-28 English Revised Version (ERV)

26. And David built there an altar unto the LORD, and offered burnt offerings and peace offerings, and called upon the LORD; and he answered him from heaven by fire upon the altar of burnt offering.

27. And the LORD commanded the angel; and he put up his sword again into the sheath thereof.

28. At that time, when David saw that the LORD had answered him in the threshing-floor of Ornan the Jebusite, then he sacrificed there.

1 Chronicles 21