2 Chronicles 6:9

Nevertheless you shall not build the house; but your son who shall come forth out of your body, he shall build the house for my name.

2 Samuel 7:12-13

And when your days be fulfilled, and you shall sleep with your fathers, I will set up your offspring after you, who shall proceed out of your own body, and I will establish his kingdom.

1 Chronicles 17:4

Go and tell David my servant, Thus says the LORD, You shall not build me a house to dwell in:

1 Chronicles 17:11-12

And it shall come to pass, when your days are ended that you must go to be with your fathers, that I will raise up your descendant after you, who shall be of your sons; and I will establish his kingdom.

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 your days be fulfilled, and you shall sleep with your fathers, I will set up your offspring after you, who shall proceed out of your own body, and I will establish his kingdom.
1 Chronicles 17:4
Go and tell David my servant, Thus says the LORD, You shall not build me a house to dwell in: