The prominent Muslim scholar, Sheikh Muhammad Iqbal Nadvi, Director and Imam of Al-Falah Islamic Center, Oakville, Ontario, Canada , states:

“This is permissible if it’s considered to be a necessity. There is also difference between touching a dead body and a living person, but in both cases, whenever the necessity is valid, are allowed to be touched by members of the opposite gender.”