Barack Obama actually said...
We're not writing Iran a check. This is Iran's money that we were able to block from them having access to.
Context
The President's News Conference
07/14/2015
The President's News Conference