Barack Obama actually said...
There can be no justification for terrorist activities, and no terrorist should feel safe from international efforts to bring them to justice.
Context
Joint Statement by President Barack Obama and President Dmitry A. Medvedev of Russia on Counterterrorism Cooperation
05/25/2011