Parashas Vayeilech · Passuk 31:14
The LORD said to Moses: The time is drawing near for you to die. Call Joshua and present yourselves in the Tent of Meeting, that I may instruct him. Moses and Joshua went and presented themselves in the Tent of Meeting.
Torah Temimah points to Sotah 13b (סוטה י"ג ב').
English: This one, i.e., the deceased Joseph, fulfilled all that is written in this. Therefore, it is fitting that the two arks should lie side by side. The Gemara asks: And if Moses had not dealt with the burial of Joseph, would the Jewish people not have dealt with it? But isn’t it written that after Moses died: “And the bones of Joseph, which the children of Israel brought up out of Egypt, they buried in Shechem” (Joshua 24:32), which indicates that the Jewish people completed the burial of Joseph? And furthermore, if the Jewish people had not dealt with Joseph’s burial, would his children not have dealt with it? But isn’t it written in that same verse: “And they became the inheritance of the children of Joseph,” as Joseph was buried in Shechem, which was then given to his descendants? Therefore, the question arises: Why did Joseph’s descendants initially leave the task of his burial to the Jewish people and Moses? The Gemara answers: They said: Leave Joseph for others. It is more of an honor for Joseph to be buried by the many than by the few, and therefore it is better that the Jewish people be involved in the burial. And furthermore, they said: Leave Joseph for others. It is more of an honor for Joseph to be buried by one of the great men like Moses than by lesser ones like us. In the aforementioned verse it states: “And the bones of Joseph, which the children of Israel brought up out of Egypt, they buried in Shechem, in the parcel of ground that Jacob bought from the sons of Hamor the father of Shechem for a hundred pieces of money” (Joshua 24:32). The Gemara asks: What is different about Shechem that they specifically chose to bury Joseph there? Rabbi Ḥama, son of Rabbi Ḥanina, says that the Jewish people said: His brothers kidnapped him from Shechem (see Genesis 37:12–28), and to Shechem we should return his lost body. The Gemara comments: The verses contradict each other, as it is written: “And Moses took the bones of Joseph with him” (Exodus 13:19), and it is written elsewhere: “And the bones of Joseph, which the children of Israel brought up out of Egypt” (Joshua 24:32). Who in fact took Joseph’s bones? Rabbi Ḥama, son of Rabbi Ḥanina, says: Anyone who performs a matter but does not complete it, and then another comes and completes it, the verse ascribes credit to the one who completed it as if he had actually performed the entire act. Due to the fact that the children of Israel completed Joseph’s burial, the Torah ascribes them credit as if they had performed the entire act.
Derash on the verse (Bavli sugya) — not a formal named middah of the 13
The Gemara uses this passuk inside a sugya (question, proof, or illustration). That is classical derash, but not labeled here as one of R' Yishmael’s 13 unless the move is explicit.
Death and succession are framed together: Moshe’s impending death and Yehoshua’s standing before Hashem teach that leadership ends and begins under divine command, not popular vote alone.