When the word «sodomy» is used in islamic context what does it refer to? For example in the case when Imam Ali (as) was describing the condition Imam Mehdi aj will impose on his companions, one thing mentioned is: «You shall not commit sodomy, drink wine and do misappropriation with Imamate and guidance.» What is meant with sodomy? When searching up the word it gives the definition: «Sodomy (/ˈsɒdəmi/) or buggery (British English) is generally anal or oral sex». But can that really be the case? Because oral sex is allowed, and anal sex as well with ones wifes permission.