1 Chronicles 21:26-30
New International Version
26 David built an altar to the Lord there and sacrificed burnt offerings and fellowship offerings. He called on the Lord, and the Lord answered him with fire(A) from heaven on the altar of burnt offering.
27 Then the Lord spoke to the angel, and he put his sword back into its sheath. 28 At that time, when David saw that the Lord had answered him on the threshing floor of Araunah the Jebusite, he offered sacrifices there. 29 The tabernacle of the Lord, which Moses had made in the wilderness, and the altar of burnt offering were at that time on the high place at Gibeon.(B) 30 But David could not go before it to inquire of God, because he was afraid of the sword of the angel of the Lord.