If the thing bequeathed belonged to the legatee at the date of the will the legacy shall be void, even though it may have been alienated subsequently.
If the legatee has acquired it for a good consideration after said date he can claim nothing for it; but if it should have been acquired for a valuable consideration, he may demand of the heir an indemnity for what he may have given to acquire it.
History —Civil Code, 1930, § 800.