Last Updated, Wednesday, 10:22 a.m. The American comedian Jon Stewart’s criticism of the Egyptian government briefly escalated into a diplomatic incident on Tuesday, as the United States Embassy in Cairo shared a link to a “Daily Show” segment on Twitter, causing the office of Egypt’s president to react with anger.

.@USEmbassyCairo @TheDailyShow @DrBassemYoussef It’s inappropriate for a diplomatic mission to engage in such negative political propaganda — Egyptian Presidency (@EgyPresidency) 2 Apr 13

Mr. Stewart devoted the first 11 minutes of his program on Monday to mocking Egypt’s continuing investigation of Bassem Youssef, the Arab world’s most popular television comedian, for the supposedly criminal use of satire in jokes about President Mohamed Morsi and his Islamist political party.

Mr. Youssef, whose satirical review of the news on “Bernameg al-Bernameg” or “The Show Show,” is closely modeled on “The Daily Show,” is being investigated by Egyptian prosecutors in response to complaints filed by citizens, including supporters of the president who claimed that they were “psychologically affected by this nonsense, ridicule and slander addressed to the head of state.” Despite the investigation, Mr. Youssef has continued to make light of the complaints on his weekly show. In one segment, broadcast in January and subtitled by Sam Heller, a researcher and blogger based in Qatar, the satirist even used news of the investigation to set up a joke.

As he explained in an interview with CNN, prosecutors questioned the satirist for hours about episodes of his program on Sunday, forcing him to explain joke after joke and finally releasing him only after he had posted bail.

Late Tuesday, the Egyptian president’s office said in a statement posted on Facebook that the interrogation of Mr. Youssef had been carried out by a fully independent prosecutor (albeit one appointed by Mr. Morsi) investigating complaints “initiated by citizens rather than the presidency.” Under Mr. Morsi’s rule, the statement added, “all citizens are free to express themselves without the restrictions that prevailed in the era of the previous regime.”

Writing on Twitter on Tuesday, Mr. Youssef reported that yet another legal complaint had been filed against him, this time for the previously unknown crime of “insulting Pakistan,” as part of what he described as a concerted campaign of harassment.

A new investigation against me is to be started because of last episode. Accusations include spreading rumors and disturbing the “Peace” — Dr Bassem Youssef (@DrBassemYoussef) 1 Apr 13

It seems they want to drain us physically, emotionally and financially — Dr Bassem Youssef (@DrBassemYoussef) 1 Apr 13

Earlier in the day, Mr. Morsi’s political party had condemned the United States for “blatant interference in Egypt’s internal affairs,” following remarks on the case by Victoria Nuland, the State Department spokeswoman.

Asked about Mr. Youssef at a news conference on Monday, Ms. Nuland said that the comedian’s arrest, “coupled with recent arrest warrants issued for other political activists, is evidence of a disturbing trend of growing restrictions on the freedom of expression.” The government of Egypt, she added, “seems to be investigating these cases while it has been slow or inadequate in investigating attacks on demonstrators outside the presidential palace in December 2012, other cases of extreme police brutality and illegally blocked entry of journalists to media cities.”

That prompted a series of critical tweets from @Ikhwanweb, the Muslim Brotherhood’s official, English-language Twitter feed, and an indignant statement from the Islamist movement’s Freedom and Justice Party, which nominated Mr. Morsi for the presidency last year. In both forums, the Islamists claimed that the main charge against Mr. Youssef was not mocking the president but insulting his religion.

#FJP criticizes USG statements on @DrBassemYoussef onging investigations, calling it flagrant meddling in #Egypt’ domestic affairs — Ikhwanweb (@Ikhwanweb) 2 Apr 13

#FJP: statements imply @DrBassemYoussef is investigated for insulting prez, while main allegations r defaming & rediculing religion/rituals — Ikhwanweb (@Ikhwanweb) 2 Apr 13

#FJP: Defaming religion allegation is a serious offense, a violation of Egyptian law, culture & values, and a threat to societal peace — Ikhwanweb (@Ikhwanweb) 2 Apr 13

#FJP:We also reaffirm our respect to freedom of expression & criticizing those at the executive helm & Prez within boundaries of law & const — Ikhwanweb (@Ikhwanweb) 2 Apr 13

#FJP: We strongly condemn @StateDept statements, which means USG is welcoming & condoning defamation of religion by some in Egyptian media — Ikhwanweb (@Ikhwanweb) 2 Apr 13

Unsurprisingly, the Brotherhood’s Twitter comments defending the criminal investigation of such a popular comedian inspired a wave of critical comments from observers abroad and Egypt’s activist bloggers.

@Ikhwanweb culture & values are going to the bin .. ppl r lynching criminals on the street because u r busy following sarcasm with lawsuits — Mostafa Hussein (@moftasa) 2 Apr 13

@Ikhwanweb Silencing your critics instead of, y’know, doing your jobs might be a sign that you need to get your priorities straight. — Sara Yasin (@missyasin) 2 Apr 13

.@Ikhwanweb When Egypt’s gov is funded by the US, I don’t think Egypt’s affairs are Egypt’s alone anymore..Face it, you’re in a relationship — Ghazala Irshad (@ghazalairshad) 2 Apr 13

@Ikhwanweb @statedept I’m curious how you decide that “religion is defamed”? Do MB get a phonecall from God saying “Whoa…I’m now upset”? — SciencePyramid (@SciencePyramid) 2 Apr 13

Although the Brotherhood maintains that Mr. Morsi operates with independence from the movement, its Twitter feed harshly criticized the American Embassy for sharing the link to “The Daily Show” shortly before a similar message was posted on the official feed of the Egyptian presidency.

Another undiplomatic & unwise move by @USEmbassyCairo, taking sides in an ongoing investigation & disregarding Egyptian law & culture — Ikhwanweb (@Ikhwanweb) 2 Apr 13

According to the Egyptian journalist and blogger Mohamed Abdelfattah, the online reaction to Mr. Stewart’s commentary was far more virulent from Islamist supporters of the president on unofficial fan pages, which sought to discredit the comedian by tapping into Egypt’s rich vein of anti-Semitism.

Late Tuesday, the Brotherhood’s Twitter feed even posted a link to an Al Jazeera report on comments by Rick Sanchez, who was fired by CNN in 2010 after he called Mr. Stewart “a bigot,” and suggested that the comedian had made fun of him for being bad at his job because he was Latino and not Jewish.

.@AJArabic feature on West’s double standards regarding freedom of speech, or lack of, and anti-Semitism //t.co/3BM7amSFHY — Ikhwanweb (@Ikhwanweb) 2 Apr 13

The first words of the report lined to by @Ikhwanweb are Mr. Sanchez saying, “everybody who runs CNN is a lot like Stewart, and a lot of people who run all the other networks are a lot like Stewart, and to imply that somehow they, the people in this country who are Jewish, are an oppressed minority? Yeah.”

Perhaps not coincidentally, the wave of complaints against Mr. Youssef intensified after the comedian discovered and broadcast earlier this year video of Mr. Morsi making anti-Semitic comments at a rally in 2010, in which the Brotherhood leader said: “We must never forget, brothers, to nurse our children and our grandchildren on hatred for them: for Zionists, for Jews.”

The @USEmbassyCairo Twitter feed also spent part of Tuesday replying to questions from Egyptians about fabricated comments regarding Jews published in an Egyptian newspaper.

.@marwamfarid This is completely false. Amb never even spoke with that newspaper. — US Embassy Cairo (@USEmbassyCairo) 2 Apr 13

The newspaper, Al-Fajr, which has a reputation for simply making up stories, claimed, falsely, that the American ambassador, Anne Patterson, had said: “The land of Egypt belongs to the Jews because it is originally their land… and the Jews were expelled from Egypt after they built the Pyramids… and after D.N.A. analysis of Tutankhamen he was found to be of Jewish origin.”