The Talmud and Kabbalah speak of man being the Temple of Hashem, but where can we find that in the Torah?
Please see Vaikra 15:31 and Bemidbar 19:13. It is being implied there.
31 Thus shall ye separate the children of Israel from their uncleanness; that they die not in their uncleanness, when they defile My tabernacle that is in the midst of them.
13 Whosoever toucheth the dead, even the body of any man that is dead, and purifieth not himself--he hath defiled the tabernacle of the LORD--that soul shall be cut off from Israel; because the water of sprinkling was not dashed against him, he shall be unclean; his uncleanness is yet upon him.