Janaazah

Wife giving ghusal to her deceased husband while in the state of haidh

Q: When a woman is in her haidh, she is not supposed to go near a deceased person. However, what if someone's husband passed away and he passed away at such a place where there is no male to do his ghusl. His mahram women are with him (his mother and sister). His wife is also present there, however she is on her haidh. Who will get the preference of doing his ghusl? Should the mother do the ghusl or shall the wife do the ghusl?