One of those trivial coincidences that draw my attention is that both Doctor Who and Legends of Tomorrow are about ragtag groups of time travellers, and both have fairly young female Muslim characters, Yaz and Zari respectively. There's also the male lead Zidan on the procedural FBI. What they also have in common is that the depiction of Islam is a bit lackluster. You obviously don't want the characters to be grating stereotypes, but all three series seem to have gone too far the other way. If you just pick an episode at random you'd have a hard time realising any of them were Muslim. Zidan is an expert in Islamist terrorism, but actually being Muslim himself doesn't come up that often. Zari had one episode trying to explain halal food to Mick. Yaz had an episode about her ancestors in the Partition of India. That's about it, and none of them have ever been shown praying. So, are there any better treatments of Muslim characters? The best I can think of is Brody from the first few seasons of Homeland - he converts to Islam as well as becoming a suicide bomber, and the show is clear about the distinction between the two.