That seems to be what happened in Alkhafaji v. TIAA-CREF Individual and Instit. Services LLC, 2010 WL 1435056 (Pa. Ct. Com. Pl. Jan. 14, 2010), which is now on appeal. I'm posting about this now because the briefs were just posted on Westlaw, and confirm the details of the will, as well as giving some extra perspective on the disputes related to what Sharia law provides in such situations.
Prof. Abbass Alkhafaji died, and left a will that apparently said, in relevant part,
(4) About my pension, the beneficiaries are all my biological kids and my current wife, ... after reducing all costs associated with the house.... [The] rest of the pension, if any left, should be divided according to Islamic Laws and Sharia....
(9) In case I have additional monetary benefits from my job, such as life insurance, 401K, 403B or any other retirement funds that I am not aware of, Allah as my witness, They should be divided, after costs associated with the payment of those funds according to Islamic Laws and "Sharia."