It did matter in Michigan where many Muslims (which make up perhaps 3-4% of the vote) didn't turn out for Hillary--enough to tip the state to Trump. Perhaps a lower than expected support from male Hispanics may have played a role, but I don't think it affected the outcome in any state.
I'm pretty sure they'd vote for a woman rather than vote or enable somebody who has threatened to ban them from entering the U.S and uses dog-whistle Islamophobia.
You might think so, and I am sure that most of them did. But just enough didn't show up to make the difference.