in this case there are 3 joints owners have equal share in the property.
one of the co- owner has agreed to sale his one- third undivided share in the property ?
is it legal to purchase the same ?
yes. He can sell it. any co-owner can transfer his own share in the property to a stranger or another co-owner.