The World Federation One Stop Fiqh

Ruling 555

Based on obligatory precaution, it is unlawful to take a fee for giving ghusl to a corpse; if someone gives ghusl to a corpse with the intention of earning a fee such that it conflicts with him having an intention to attain proximity to Allah, the ghusl is invalid. However, it is not unlawful to take a fee for preliminary matters relating to giving ghusl [such as getting the three types of water ready].