2 Chronicles, chapters 6-9

Solomon also brought Pharaoh’s daughter up from the City of David to the house that he had built for her, for he said: “Although she is my wife, she should not dwell in the house of King David of Israel, for the places to which the Ark of Jehovah has come are holy.”
~2 Chronicles 8:11

At the beginning of his reign, King Solomon had a clear view of how to keep true worship uncontaminated from false religion.
He understood that his wife’s traditions were not just incompatible with Mosaic Law, but they diametrically opposed it.
At the risk of offending her, he removed her from within the Holy City and built her a separate house next to his own.
We should also hold true worship in high esteem and avoid contaminating it with antibiblical traditions, even when this may stress close relationships (Matt. 10:36,37; 2 Co. 6:14).

1 Samuel, chapters 5-9

But he would return to Ramah, because his house was there, and there he also judged Israel. He built an altar there to Jehovah.
~1 Samuel 7:17

While reading the account of how Samuel went about leading the Israelites in true worship, I couldn’t help but wonder that he had built an altar at a place other than the tabernacle (De. 12:11).

Worshipping in high places was a practice God had clearly condemned until shortly before then (Jos. 22:29).
The indicated place of worship was supposed to be where God’s sacred Ark resided- the Ark symbolizing God’s divine presence.
However, with God’s sacred Ark having been robbed from the tabernacle, Jehovah allowed his worshippers to practice their faith elsewhere, so long as it remained clean of idolatry (1 Ki. 3:2-4).

God’s reasonableness is thus reflected in the flexibility he offers his servants when they are sincerely approaching him to worship.

A Samaritan woman once inquired of the Messiah about the proper place to worship (John 4:19,20).

Jesus’s reply clearly indicates that the determining factor in whether God accepts someone’s worship is the attitude with which a person approaches God, not so much the physical place the person is at.
He also mentioned that it should be spirit-based, or free of idol use (John 4:24).

An example of this can be seen today in the hundreds of conscientious objectors who are imprisoned for practicing their faith.
Although they are in most cases isolated from the worldwide brotherhood, without a doubt Jehovah hears their prayers and holds their worship in high esteem.