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 Moed Katan 28a (מו"ק כ"ח א').
English: with regard to a woman who died in childbirth, and therefore continues to bleed. But the biers of other women may be set down in the street. Rabbi Elazar said: Even the biers of other women must not be set down in the street, as it is written: “And Miriam died there and was buried there” (Numbers 20:1), which teaches that the site of her burial was close to the place of her death. Therefore, it is preferable to bury a woman as close as possible to the place where she died. With regard to that same verse Rabbi Elazar said further: Miriam also died by the divine kiss, just like her brother Moses. What is the source for this? This is derived through a verbal analogy between the word “there” stated with regard to Miriam and the word “there” mentioned with regard to Moses. With regard to Moses it says: “So Moses the servant of the Lord died there in the land of Moab by the mouth of the Lord” (Deuteronomy 34:5). For what reason was it not explicitly stated with regard to her, as it is stated with regard to Moses, that she died “by the mouth of the Lord”? It is because it would be unseemly to say such a thing, that a woman died by way of a divine kiss, and therefore it is not said explicitly. Rabbi Ami said: Why was the Torah portion that describes the death of Miriam juxtaposed to the portion dealing with the red heifer? To tell you: Just as the red heifer atones for sin, so too, the death of the righteous atones for sin. Rabbi Elazar said: Why was the Torah portion that describes the death of Aaron juxtaposed to the portion discussing the priestly garments? This teaches that just as the priestly garments atone for sin, so too, the death of the righteous atones for sin. § The Sages taught the following baraita: If one dies suddenly without having been sick, this is death through snatching. If he became sick for a day and died, this is an expedited death. Rabbi Ḥananya ben Gamliel says: This is death at a stroke, as it is stated: “Son of man, behold, I am about to take away from you the delight of your eyes at a stroke” (Ezekiel 24:16). And when this prophecy is fulfilled it is written: “So I spoke to the people in the morning and at evening my wife died” (Ezekiel 24:18). If he was sick for two days and died, this is a quickened death. If he was sick for three days and died, this is a death of rebuke. If he died after being sick for four days, this is a death of reprimand. If one died after a sickness lasting five days, this is the ordinary death of all people. Rabbi Ḥanin said: What is the verse from which this is derived? It is stated: “Behold, your days approach that you must die” (Deuteronomy 31:14).
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.
Hashem’s summons of Moshe and Yehoshua to the Tent marks the transfer of leadership in the presence of the Shechinah: appointment is public and witnessed, not only private blessing.