Following conditions should be satisfied to claim the benefit of section 54.
• The benefit of section 54 is available only to an individual or HUF.
• The asset transferred should be a long-term capital asset, being a residential house
property.
• Within a period of one year before or two years after the date of transfer of old
house, the taxpayer should acquire another residential house or should construct a
residential house within a period of three years from the date of transfer of the old
house. In case of compulsory acquisition the period of acquisition or construction
will be determined from the date of receipt of compensation (whether original or
additional)
So need to pay any income tax provided that your capital gain amount should be greater than or equal to Amount of New Residential property purchased.