An agreement by which a landowner leases his property to a prostitute, knowing that she is a prostitute to practice her trade, is considered immoral and, as a result, the rent to be paid becomes irretrievable, as in upfill v. Wright.[8] The loan agreements entered into for the management and continuation of the brothel were also considered immoral and, therefore, the borrowed money was considered uncollectible, as in the case of Aroomoogum Chitty v. Lim Ah Hang [9]. Thus, knowledge of the other party`s profession of prostitution and the purpose for which the products it provides are two important factors in illegally maintaining a contract with a prostitute for immorality. At the same time, a contract for renting accommodation to a prostitute for the purpose of her stay and not for the exercise of her profession was considered a legitimate contract, which allowed the owner of the dwellings to recover the rent of the dwellings rented to her. That is what happened in Appleton v. Campbell. First, cohabitation contracts between unwarried persons were deemed unenforceable and illegal to promote the diemoral. In Fender v. Saint-Jean-Mildmay[2], it has been established that an immoral promise between an unmoiled man and an unwarried woman to live together without marriage cannot be enforced by law. Such an agreement was deemed illegal because of the immorality. But over time, the law changed and now unmoiled men and women are allowed to live together and maintain a domestic relationship without getting married.

But “extramarital” cohabitation is still considered immoral and therefore unenforceable. And no old illegal activity will make an agreement illegal. An illegal contract can affect any type of agreement or transaction. There are at least 3 possible outcomes of illegal agreements. An illegal contract prevents claims on the basis of a contract when a party attempts to enforce an agreement that prohibits the law. Illegality is mainly intended for the defense of rights. Prostitution in India is considered legal under the Immoral Traffic (Prevention) Act 1956, but the treatment of prostitutes has always been considered immoral and considered immoral. This means that any type of agreement made by a party with a prostitute to deliver goods to her, to help her in her profession, is considered illegal for immorality and the price to be recovered becomes irrecutible.