As a Muslim, I have often appreciated the religious imagery and themes in Tolkien’s writings.
Tbh the parts I love the most are from his extended writings. One is the part in the statute of Miriel where the Valar are debating what to do about Miriel and Finwe. The Valar want Finwe to stay single but the other Valar say it’s unfair to expect him to stay alone for eternity when all other Eldar seem to find a partner or can expect their spouse to come back one day from death. Namo says we cannot compel people to do what we want just because it’s the better option
“We may indeed in counsel point to the higher road, but we cannot compel any free creature to walk upon it. That leadeth to tyranny, which disfigureth good and maketh it seem hateful. ‘Healing by final Hope, as Manwe hath spoken of it, is a law which one can give to oneself only; of others justice alone can be demanded. A ruler who discerning justice refuseth to it the sanction of law, demanding abnegation of rights and self- sacrifice, will not drive his subjects to these virtues, virtuous only if free, but by unnaturally making justice unlawful, will drive them rather to rebellion against all law. Not by such means will Arda be healed. (Taken from Morgoth’s Ring, HOME bk10)
The second is the Ahrabeth between Finrod and Andreth, where the human woman is despairing at how can humanity ever overcome Morgoth and the shadow he cast over the world, and Finrod says that humans have the potential to be greater than the Elves, and that humans must maintain faith that Eru will never abandon His Children forever.
Both of these resonate with Islamic principles of sabr = patience, having faith in God’s plan and being constant and in peace . Very similar with the word that Tolkien invented of estel (hope in Eru’s ultimate plan).