What is written above concerning this matter? "And the LORD saw that he had turned aside to look, and God called to him from the midst of the bush and said: Moses, Moses" (Exodus 3:4). Rabbi Abba bar Kahana said: Everyone whose name is doubled has a share in two worlds. And Abraham our father did not die until he was brought the good tidings of the deed of Terah his father, that he had repented, as it is said: "And you shall come to your fathers in peace" (Genesis 15:15). He said to Him: With all that I have accumulated of good deeds, am I going to my fathers? At that moment the Holy One, blessed be He, brought him good tidings and said to him: By your life, your father has repented; therefore his name is doubled — Terah, Terah.
Why Terah's Name Is Doubled and Abraham's Father Repented
Midrash Tanchuma Buber, Shemot 15:1
מה כתיב למעלה מן הענין וירא ה' כי סר לראות ויקרא אליו אלהים מתוך הסנה ויאמר משה משה (שם ג ד), ר' אבא בר כהנא אמר כל מי שנכפל שמו יש לו חלק בשני עולמות, ולא מת אברהם אבינו עד שנתבשר ממעשה תרח אביו שעשה תשובה, שנאמר ואתה תבא אל אבותיך בשלום (בראשית טו טו), א"ל כל מה שסיגלתו מעשים טובים אני הולך אצל אבותי, באותה שעה בישרו הקב"ה ואמר לו חייך שעשה אביך תשובה לפיכך נכפל שמו תרח תרח.