Islam cares for every aspect of a Muslim’s life and gives him clear guidance regarding all things that will affect this life and the next. Imam Muslim reported that some Jews came to Salman Al-Farisi and said to him: “Your Prophet taught you everything even the etiquette of answering the call of nature.” And he said: “Yes, he did.
In the field of sexual relations, Islam provides complete guidelines prohibiting some practices and allowing others. The purpose of this is to secure the greatest level of happiness and purity in this very important part of life.
The eminent Muslim scholar and renowned Da`iyah, Sheikh `Abdel Khaliq Hasan Ash-Shareef, states: There is no problem in doing that as long as we are taking our utmost precaution not to come close to the practice of anal sex as this is strictly forbidden and the one who commits that is cursed by Allah. We are recommended to be away form that area as the devil might find his way to seduce you and then you could commit what is prohibited. We are allowed to enjoy your life in anyway but through the way that Allah prescribed.