1. Was the sale deed made? Unless the sale deed was made after the agreement you continue to be the owner of the land.
2. If the sale deed was made then you cannot cancel it now as the ownership stands transferred to your friend.
3. If only the agreement was made then it can be cancelled only within the periphery of the agreement itself by returning the amount so paid by the buyer. The cancellation cannot be done at the sweet will of the seller.