If any person gives ghusl to dead body of Muslim person, then should that person himself also need to take ghusl after giving holy bath to dead body?

Answered according to Hanafi Fiqh by Darulifta-Deoband.org

بسم الله الرحمن الرحيم

(Fatwa: 426/515/L=05/1437)

It is not necessary for a person who is giving ghusl to dead body to take a bath after it. However it is mustahab for him to take bath.
قال فى الدر المختار : وندب لمجنون أفاق …. أو غسل ميتاً (درمختار) وفى الشامى: قوله أو غسل ميتاً للخروج من الخلاف كما فى الفتح . (شامى: 1، 310-311)

Allah knows Best!

Darul Ifta,
Darul Uloom Deoband