It happened, when David lived in his house, that David said to Nathan the prophet, Behold, I dwell in a house of cedar, but the ark of the covenant of Yahweh [dwells] under curtains.
Also, both accounts make it absolutely certain that the passage has no reference whatever to Solomon.  This, of course, is disputed.  Jacob M. Myers, for example, wrote that, "Verse 11 must not be made to bear too much weight ... it seems to refer only to Solomon."[1]  However, it is impossible to put "too much weight" on verse 11!  It thunders the message, found also in the parallel, that the Great One who would build God a house would appear after (yes, that's the word, AFTER) David's death; and Solomon did not appear after David's decease, but during his lifetime and was co-regent with him for a period.  See our extensive comment on this in the parallel.