Parshas Devarim · Passuk 2:25
This day I will begin to put the dread and fear of you upon the peoples that are under the whole heaven, who shall hear report of you and shall tremble and be in anguish because of you.
Torah Temimah points to Taanit 20a (verified).
English: “I will begin to put your dread.” It is written here “I will begin to put your dread” and it is written concerning Yehoshua (Yehoshua 3) “I will begin to magnify you.” From here [we learn] that just as the sun stood still for Yehoshua, so it stood still for Moshe. R’ Shmuel bar Nachmani said it is derived from the word “teit”… and R’ Yochanan said it is derived from the verse itself: “who shall hear report of you and shall tremble and be in anguish because of you” — when did they tremble and quake before you? At the time the sun was delayed for him.
Category A — Formal traditional Middah. Traditional list — Rabbi Yishmael’s 13 Middos. Middah #2 — Gezeirah Shavah. Method — Ta’anis 20a compares אָחֵל in Devarim 2:25 with אָחֵל in Yehoshua 3:7, and separately derives תֵּת תֵּת between Devarim 2:25 and Yehoshua 10:12. The two shared-word comparisons transfer the sun-stopping miracle associated with Yehoshua to Moshe. Textual triggers and parallels — אָחֵל, Devarim 2:25 / Yehoshua 3:7; תֵּת, Devarim 2:25 / Yehoshua 10:12. The additional explanation from the verse itself is a separate argument, not a second category.
Miracles associated with later leaders may already have been granted to earlier ones. The dread that fell upon the nations began with Moshe and was renewed with Yehoshua.