The Grand Ayatollah Khamenei answered questions about dividing common assets of a couple between inheritors after the death of the husband.
Question: A husband and wife were civil servants and used to spend their money jointly for living expenses, and (now) the husband has died, what is the ruling about the assets? Are all the assets are counted as what is left by the deceased and one fourth is taken by the wife and the rest belong to other relatives or not, in this situation, how the calculation must be done?
The Grand Ayatollah Khamenei: If the wife has given her own money as Hebeh (given without expecting anything in return), (the assets) are considered as what is left by the deceased, and if she has bought for herself, it belongs to her and in these cases which are certain that the wife has bought with her own money for herself (meaning we know for example she bought this carpet with her own money) these belong to the wife and the inheritors do not have any right in these cases. And cases which they bought together are calculated as the percentage of the money each has paid, and if there are doubts and they are not clear, the inheritors of the deceased and the wife must compromise.
Source: PERSIAN SHAFAQNA