Best solution would be that she becomes the co owner in the flat and directly invest in new flat to claim exemption and later on gift you the above property.
Hope you find the information helpful if you do please rate it 5 and provide your valuable feedback for my improvement.
Thank you