It is narrated from Ash'ath that Hasan (may Allah have mercy on him) was asked about a person who made a bequest of half (of his wealth) for one man and a third (of his wealth) for another. Hasan (may Allah have mercy on him) said: Both of them will be given a share from one third (of the wealth); the one with half will get half, and the one with a third will get a third.
Brief Explanation
(Commentary on Ahadith 3239 to 3241)
That is, in such a case, one-third of the wealth will be taken out, and from this, half and a third will be given to the legatee (mūṣā lahu).