You can name beneficiaries in your Will or Trust Deed. For Muslims it will follow the Wasiat per the Faraid distribution or a Trust Deed. If there is no Will nor Trust Deeds, then the estate is intestate and the beneficiaries are decided by the Government following the Distribution Act of Malaysia and other laws in Sabah and Sarawak.