Due to recent questions regarding Baphomet and its association with Freemasonry, I thought it best to write a bit about it, so that those who use the search function will have a clear result to land upon.
This is a simple explanation intended to give a basic answer. See below for links to further reading.
Baphomet is not a god or any sort of deity (at least not originally, although apparently groups have taken the name and applied it to imagined deities). Medieval writers used the term to refer to Mohammed (the primary prophet in Islam). It has roots in the name used by crusaders for mosques, Bafumaria - and Mohammed, Baphometh.
The next step in the connection comes from the persecution and torture of the Knights Templar. Of the many knights who were tortured and forced confess some form of crime or heresy, only a small handful mentioned some sort of “worship” of a variation of Baphomet (Mohammed). There were others who were forced to confess idol worship. The confessions were incredibly varied and many of them completely contradicted others. Men who are being tortured will often confess to just about anything they think you want to hear.
Much later (about six hundred years later), Eliphas Levi, an occult author, seems to have invented a connection between the name Baphomet and a pentagram.
Now to Albert Pike, who in his most well known (but not well understood) work, Morals and Dogma, wrote about many religions and beliefs - both ancient and modern. It is possible that his research into some of these areas was not as thorough as it could have been, and he attributes Levi with being an expert worthy of quoting.
Then we get to “Leo Taxil” and the infamous “Taxil hoax”. For personal profit under the name Taxil, documentation was forged that used Albert Pike’s words to connect Freemasonry to the worship of Baphomet. Even though the author publicly and in a very dramatic fashion announced to the world that his work was a complete fabrication, it is still used today by anti-Masons who assume the ignorance of their listeners to continue this myth that Freemasons worship some sort of diety called “Baphomet”.
So…take a word used during a painfully forced confession in the 1300s, pass it through a work of fiction, mistakenly use it in a book that touches upon religious history, incorporate it into an admitted forgery, then ignore all the facts that led up to this point - and that’s how you get to Freemasons worshipping Baphomet.
Note, please feel free to PM me if you believe there are any inaccuracies in this summary.
For more detail on this subject, please read the valuable information from the following pages: