مناسك حج - مكارم شيرازى، ناصر - الصفحة ٩٢ - Acts that are Haraam in the State of Ihram
Article ١٥٣- Atonement is one camel in all these cases as obligatory precaution, and there is no difference between temporary or permanent spouse, also anal and vaginal intercourses are the same in this ruling.
Article ١٥٤- Above rulings are the same in obligatory and Mustahab Hajj and Hajj by proxy, but in the case of performing this act proxy has the right of leasehold, but he/ she should act to the duties above( all these are in the case of performing deliberately ).
١٨- Masturbation
Article ١٥٥- Whenever Muhrim plays with his sexual organ and semen comes out, the ruling of that is the ruling of a man who has performed sexual intercourse with a woman which has been mentioned in past articles, and if semen comes of because of playing with his wife or looking or visualizing such this scenes, then atonement is not obligatory for him, but the obligatory precaution is that it has all rulings of intercourse which has been mentioned in past articles.