A executes a document in favour of B stating, "I hereby sell my house to B for ₹5,00,000. If I repay the amount within 3 years, B shall retransfer the property to me; otherwise, the sale shall become absolute." The condition is included in the same document. A fails to repay within 3 years. B claims absolute ownership. Examine the correct legal position under the Transfer of Property Act, 1882: