Barack Obama actually said...
The restrictions contained in this bill are unwarranted and threaten to interfere with the Executive Branch's ability to determine the appropriate disposition of detainees.
Context
Statement of Administration Policy: S. 1376 - National Defense Authorization Act for FY 2016
06/01/2015