One must not cause a person to not die rapidly,
for example if one was goses,
and there was one close to that house chopping wood,
and the neshomoh (=lifeforce, soul; cf. nefesh. ADK) is unable to exit –
they must remove the chopper from there,
and they must not put salt on his tongue, in order that he will not die.
But if he is goses
and says that he is unable to die until they put him in another place –
they must not move him from there.
Even though they (the Rabbis) said: “A goses person –
they must not move him from his place”,
if there is a fire, they must not leave him in the house, and they must take him out.
A text attributed to Rabbi Judah ben Samuel of Regernsberg (1150-1217), a leader of Hassidei Ashkenaz- a movement of Jewish mysticism in Germany. This work contains the teachings of three leaders of German Hasidim during the 12th and 13th centuries.
Talmud Sanhedrin 73a
Yoreh Deah 339:1