Comments by Nick Timothy about the spectacle of thousands of Muslims at prayer in public stirred up an angry response