Barack Obama actually said...
The executive branch must have the authority to determine when and where to prosecute Guantanamo detainees, based on the facts and circumstances of each case and our national security interests.
Context
Statement on Signing the National Defense Authorization Act for Fiscal Year
12/25/2013