The evil, dark-skinned “Southrons” - men who join Sauron and fight alongside his Orcs, are clearly Muslims. Their region is called “Harad” and they use “Corsair” ships like the Barbary pirates.
The outline of the Hyborian Age that RE Howard wrote as a framework for his Conan series had that kind of parallelism as well.