Hadith.5514 - Muhammad ibn Ahmad ibn Yahya narrated from Al-Husayn ibn Ibrahim Al-Hamdani, who said
I wrote along with Muhammad ibn Yahya asking whether the executor of a will is permitted to purchase something from the deceased's estate when it is sold to the highest bidder and take it for himself.
Imam (as) replied: "It is permissible if he purchases it properly."