Gift from the Living to the Deceased
Interpreters mention that seeing the dreamer remove clothing to dress the deceased, if the clothing leaves the living person's possession, might indicate their death. However, if the clothing does not leave their possession, such as giving it to the deceased to sew, there is no harm. It is said that any gift from the living to the deceased is generally not praiseworthy, except for giving a watermelon, which removes sorrow, or giving to a deceased uncle or aunt, which signifies a financial burden and expense.
Per Ibn Sirin's Muntakhab al-Kalam fi Tafsir al-Ahlam