2 Chronicles 6:9

nevertheless thou shalt not build the house; but thy son that shall come forth out of thy loins, he shall build the house unto my name.

2 Samuel 7:12-13

When thy days are fulfilled, and thou shalt sleep with thy fathers, I will set up thy seed after thee, which shall proceed out of thy bowels, and I will establish his kingdom.

1 Chronicles 17:4

Go and say to David my servant, Thus saith Jehovah: Thou shalt not build me a house to dwell in;

1 Chronicles 17:11-12

And it shall come to pass, when thy days are fulfilled that thou must go to be with thy fathers, that I will set up thy seed after thee, which shall be of thy 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
When thy days are fulfilled, and thou shalt sleep with thy fathers, I will set up thy seed after thee, which shall proceed out of thy bowels, and I will establish his kingdom.
1 Chronicles 17:4
Go and say to David my servant, Thus saith Jehovah: Thou shalt not build me a house to dwell in;