This is a template for a agreement (often called a "Rent-to-Own" contract). It combines a standard residential lease with a specific clause giving the tenant the right to buy the property. LEASE AGREEMENT WITH OPTION TO PURCHASE
This contract locks in the purchase price today, which is great for the buyer if home values go up, but risky for the seller.
If the Tenant purchases the property, $[Amount] of each on-time monthly rent payment shall be credited toward the purchase price at closing.