Ezra
1 Chronicles 21:28ESV·traditional attribution

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

Matthew Henry Presbyterian @wholebiblehenry

We have here the controversy concluded, and, upon David's repentance, his peace made with God. Though thou wast angry with me, thy anger is turned away. 1. A stop was put to the progress of the execution, Ch1 21:15. When David repented of the sin God repented of the judgment, and ordered the destroying angel to stay his hand and sheath his sword, Ch1 21:27. 2.

Commenting on 1 Chronicles 21:18-30

John Gill Reformed Baptist @doctorgill

For the tabernacle of the Lord, which Moses made,.... Or ordered to be made by the command of God, and according to his direction: and the altar of burnt offerings, were at that season in the high place at Gibeon; which was four or five miles from Jerusalem, and too far for David to go in that time of extremity; though he must have gone...

Jamieson-Fausset-Brown Reformed @jfbcommentary

when David saw that the Lord had answered him . . ., he sacrificed there--or, "he continued to sacrifice there." Perceiving his sacrifice was acceptable, he proceeded to make additional offerings there, and seek favor by prayer and expiatory rites; for the dread of the menacing angel destroying Jerusalem while he was absent in the center of worship at Gibeon, especially reverence for the Divine...