וַיְכַ֤ל יַעֲקֹב֙ לְצַוֺּ֣ת אֶת־בָּנָ֔יו וַיֶּאֱסֹ֥ף רַגְלָ֖יו אֶל־הַמִּטָּ֑ה וַיִּגְוַ֖ע וַיֵּאָ֥סֶף אֶל־עַמָּֽיו׃
Jacob, ayant dicté à ses fils ses volontés dernières, ramena ses pieds dans sa couche; il expira et rejoignit ses pères.
Kitzur Shulchan Arukh
Those who are attending the dying person, should see to it that no limb of his projects from his bed, as it is said concerning Jacob, "And he gathered up his feet to the bed."3Genesis 49:33. Therefore, they should place chairs at [the side of] the bed, so that he cannot extend a hand or foot outside it. Nevertheless, if this was not done, and his hand or foot was extended, it is forbidden to touch him in order to put it back.