The Allahabad High Court on Friday ruled that a married man cannot be prosecuted for being in a consensual, live-in relationship with an adult woman.