Al-Kāfi - Volume 3 > The Ghusl (bath) Necessary for Touching a Dead Body and Washing or Touching When the Body Is Still Warm or Has Become Cold
Hadith #3

3ـ عِدَّةٌ مِنْ أَصْحَابِنَا عَنْ سَهْلِ بْنِ زِيَادٍ عَنْ أَحْمَدَ بْنِ مُحَمَّدِ بْنِ أَبِي نَصْرٍ عَنْ عَبْدِ الله بْنِ سِنَانٍ عَنْ أَبِي عَبْدِ الله (عَلَيْهِ الْسَّلام) قَالَ يُغَسِّلُ الَّذِي غَسَّلَ الْمَيِّتَ وَإِنْ قَبَّلَ إِنْسَانٌ الْمَيِّتَ وَهُوَ حَارٌّ فَلَيْسَ عَلَيْهِ غُسْلٌ وَلَكِنْ إِذَا مَسَّهُ وَقَبَّلَهُ وَقَدْ بَرَدَ فَعَلَيْهِ الْغُسْلُ وَ لاَ بَأْسَ أَنْ يَمَسَّهُ بَعْدَ الْغُسْلِ وَيُقَبِّلَهُ.

3. A number of our people have narrated from Sahl ibn Ziyad from Ahmad ibn Muhammad from ibn abu Nasr from ‘Abd Allah ibn Sinan who has said the following: “Abu ‘Abd Allah, Alayhi al-Salam, has said, ‘Those who give Ghusl (bath) to a deceased, themselves must take Ghusl (bath). If one kisses a deceased when the dead body is still warm, one is not required to take Ghusl (bath); but if he touches the dead body or kisses it when it has become cold, must take Ghusl (bath) and it is not harmful to touch or kiss after the dead body is given Ghusl (bath).”’