Hope you are doing well.
As per Section 269ST, any person who enters into a transaction of Rs 2 Lakh or above in cash, will be liable to a penalty of an amount equivalent to the amount of transaction.
So, you can not receive more than Rs. 2 lakh in cash. Please calculate the amount of capital gain and invest in residential house property.
If you do not intend to invest in a house, you can buy specified financial assets. "Capital gains from sale of any long-term asset can be claimed as tax-exempt under Section 54EC of the Income-Tax Act by investing in notified bonds within six months of its transfer,"
Thanks & Regards,