ספר המדות, Prayer / Part I Prayer / Part I · לב
Sefer HaMiddot 2622
לב. אַל תִּתְפַּלֵּל בְּבַיִת, שֶׁבָּנָה בַּעַל מַחֲלקֶת.
32. Do not pray in a house built by a conflict monger (t.n. The commentators have not provided any citations, so I suggest chronicles 1:28:3 where we find that G-d did not have King David build the House of Prayer because he was a warmonger).