And he dwelt in Sepphoris seventeen years. For thirteen years he suffered in his teeth, and during all those thirteen years no wild animal died in the land of Israel, and no woman miscarried her fetus in the land of Israel. And at the end of thirteen years Our Holy Rabbi became angry with R. Hiyya the Great. Elijah, remembered for good, came in to Our Holy Rabbi in the likeness of R. Hiyya, and placed his hand upon his tooth, and immediately it was healed. The next day R. Hiyya came in to him. He said to him: "Rabbi, that tooth of yours, how is it doing?" He said to him: "From the moment you placed your hand upon it yesterday, it was healed at that very hour." R. Hiyya said: "Woe to you, wild animals of the land of Israel; [woe to you, pregnant ones of the land of Israel]." Even so, he said to him: "I did not place my hand upon your tooth." Immediately Our Rabbi knew that it had been Elijah. From that hour R. Hiyya began to treat him with honor.
Elijah Heals Rabbi Judah HaNasi's Tooth in Sepphoris
Midrash Tanchuma Buber, Vayechi 6:7
והוא דר בצפורי שבע עשרה שנה, שלש עשרה שנה חשש בשיניו, וכל אותן שלש עשרה שנה לא מתה חיה בארץ ישראל, ולא הפילה אשה עוברה בארץ ישראל, ובסוף שלש עשרה שנה כעס רבינו הקדוש על ר' חייא הגדול, נכנס אליהו זכור לטוב אצל רבינו הקדוש בדמותו של ר' חייא, ונתן ידו על שינו ומיד נתרפא, למחר נכנס ר' חייא אצלו, א"ל ר' אותו השן שלך מה היא עושה, א"ל משעה שנתת עליו ידך אתמול נתרפאה באותה שעה, אמר ר' חייא אי לכם חיות שבארץ ישראל, [אי לכם עוברות שבארץ ישראל], אפילו כן אמר לו לא נתתי אני ידי על שינך, מיד ידע רבינו שאליהו היה, מאותה שעה התחיל ר' חייא נוהג בו כבוד.