Barack Obama actually said...
We have shown that the United States is not and never will be at war with Islam.
Context
Statement on the 10th Anniversary of the Commencement of United States Military Operations in Afghanistan
10/06/2011