It’s nonsense that this is about “offending muslims.”
First: he’s been there before (see photos above);
Second: it a huge security issue, and locks down the whole city, disrupting people actually worshipping;
Third: He wanted to see more of the country.