Barack Obama actually said...
We must never accept the premise that they put forward because it is a lie. Nor should we grant these terrorists the religious legitimacy that they seek. They are not religious leaders. They're terrorists.
Context
President Obama emphasizes the importance of not legitimizing ISIS and Al-Qaeda by framing them as religious leaders.
02/17/2015