The president is to give a speech Sunday on U.S. relations with the Muslim world and the effort to confront religious extremism.