2 Chronicles 6:9

But you yourself will not be the builder of the house; but your son, the offspring of your body, he it is who will put up a house for my name.

2 Samuel 7:12-13

And when the time comes for you to go to rest with your fathers, I will put in your place your seed after you, the offspring of your body, and I will make his kingdom strong.

1 Chronicles 17:4

Go and say to David my servant, The Lord says, You are not to make me a house for my living-place:

1 Chronicles 17:11-12

And when the time comes for you to go to your fathers, I will put in your place your seed after you, one of your sons, and I will make his kingdom strong.

Treasury of Scripture Knowledge

Summary

Notwithstanding thou shalt not build the house; but thy son which shall come forth out of thy loins, he shall build the house for my name.

Bible References

Thy son

2 Samuel 7:12
And when the time comes for you to go to rest with your fathers, I will put in your place your seed after you, the offspring of your body, and I will make his kingdom strong.
1 Chronicles 17:4
Go and say to David my servant, The Lord says, You are not to make me a house for my living-place:

Basic English, produced by Mr C. K. Ogden of the Orthological Institute - public domain