Sa'id bin Jubayr (may Allah have mercy on him) said that first the shroud is arranged, then the debt is paid, then the will is carried out.