Genesis 47:29-31

Thomson(i) 29 Now when the time of Israel's death drew nigh he sent for his son Joseph and said to him, If I have found favour in thy sight, put thy hand under my thigh and thou shalt deal kindly and truly with me, that thou wilt not bury me in Egypt; 30 but let me sleep with my fathers. Therefore thou shalt carry me out of Egypt and bury me in their sepulchre. And he said I will do as thou hast said. 31 And he said, Swear to me. So he sword to him. And Israel bowed down on the head of his staff.