Article Two of the United States Constitution
When Congress passes a law that approves money for a program, the President, or executive departments, cannot refuse to spend the money on that program.  They cannot spend the money on anything else, because this would go against a law made by Congress.