Barack Obama actually said...
The American people stand in solidarity with the people of Turkey in the fight against terrorism.
Context
Readout of the President's Call with President Recep Tayyip Erdogan of Turkey
10/09/2015