Firstly, your mother is eligible for exemption under section 54 and not under section 54F.
Under section 54, You does not need to invest the entire sales.
She may choose to invest only capital gain amount.
Further, she can buy the property in joint name.
Its important she clearly mention the proportion of ownership in the ration of investment made by each co owner.
Each co-owner is responsible for paying taxes on their respective share of the capital gains arising from the sale.
Exemption under section 54/ 54F will be available to the co-owners in the ratio in which they have contributed towards the cost of the property. Capital gains exemption will not be limited to the share of ownership.
If the co-owned property is sold, each co-owner has to offer the capital gain as applicable on his share of the building. It may be noted that the apportionment shall be made at the 'sale consideration' and 'cost of acquisition' level and not at the 'net taxable capital gains'