Barack Obama actually said...
The restrictions contained in this bill concerning the detention facility at Guantanamo are, as I have said in the past, unwarranted and counterproductive.
Context
Statement on Signing the National Defense Authorization Act for Fiscal Year 2016
11/24/2015