A simple solution for the author would be to change the setting slightly and give the characters new names. If she was witty, she could even make them improbably Jewish.
Then, if criticized, she could say to her critics: “The characters are Jews! How dare you call Mohammed a Jew! Muslims should make a death fatwa against you for calling Mohammed a Jew!”