Al-Hasan ibn Mahbub narrated from Ibn Sinan, from Abu Abdillah عليه السلام, who said:
Imam عليه السلام said: "The cost of the shroud is to be taken from the entirety of the wealth."
Ali Akbar al-Ghaffari
Tahdhīb al-Aḥkām fī Sharḥ al-Muqniʿah, vol. 1, p. 462