It is narrated from Hasan (may Allah have mercy on him): A man makes various bequests, among which is the freeing of a slave, and if that bequest exceeds one third (of the estate), then the slave will be freed first.
Hadith Referenceسنن دارمي / من كتاب الوصايا / 3259