וְאֶת־בַּת־פַּרְעֹ֗ה הֶעֱלָ֤ה שְׁלֹמֹה֙ מֵעִ֣יר דָּוִ֔יד לַבַּ֖יִת אֲשֶׁ֣ר בָּֽנָה־לָ֑הּ כִּ֣י אָמַ֗ר לֹא־תֵשֵׁ֨ב אִשָּׁ֥ה לִי֙ בְּבֵית֙ דָּוִ֣יד מֶֽלֶךְ־יִשְׂרָאֵ֔ל כִּי־קֹ֣דֶשׁ הֵ֔מָּה אֲשֶׁר־בָּֽאָ֥ה אֲלֵיהֶ֖ם אֲר֥וֹן יְהוָֽה׃ (פ)
And Solomon brought up the daughter of Pharaoh out of the city of David unto the house that he had built for her; for he said: ‘No wife of mine shall dwell in the house of David king of Israel, because the places are holy, whereunto the ark of the LORD hath come.’
Rashi
Came up from the city of Dovid, etc. In Divrei Hayomim it explains, “for he said, ‘I should not have a wife live with me in [the City of] Dovid because they are holy [places], for the Ark of Adonoy was brought there.’”19II Divrei Hayomim 8:11. The text there reads, “in the house of Dovid.”