The Pali Cannon, created in Sri Lanka involving 600 BC and a hundred BC, states that sexual relations, regardless of whether of homosexual or of heterosexual character, is forbidden while in the monastic code, and states that any functions of soft homosexual sexual intercourse (for example masturbation and interfumeral intercourse) https://naishsails.net/