2 occurrences across the corpus

The Jerusalem Talmud

Jerusalem Talmud Kilayim 9:27

Rebbi dwelt in Sepphoris seventeen years and applied to himself (Gen. 47:28): “Jacob lived in Egypt seventeen years,” Jehudah lived in Sepphoris seventeen years. Of these he suffered from toothache for thirteen years. {Rebbi Yose ben Rebbi Abun said, all these thirteen years no woman lying-in died in the Land of Israel and no pregnant woman had a miscarriage in the Land of Israel.} Why did he have a toothache? Once he saw a calf to be slaughtered when it bellowed and said to him, Rebbi, save me! He said to it, for that you were created. At the end, how was he healed? He saw them killing a burrow of rats. He said to them, let them live, it is written (Ps. 145:9) “His mercy extends to all His creatures.”

Jerusalem Talmud Ketubot 12:14

Rebbi dwelt in Sepphoris seventeen years and applied to himself (Gen. 47:28): “Jacob lived in Egypt seventeen years,” Jehudah lived in Sepphoris seventeen years. Of these he suffered from toothache for thirteen years. {Rebbi Yose ben Rebbi Abun said, all these thirteen years no woman lying-in died in the Land of Israel and no pregnant woman had a miscarriage in the Land of Israel.} Why did he have a toothache? Once he saw a calf to be slaughtered when it bellowed and said to him, Rebbi, save me! He said to it, for that you were created. At the end, how was he healed? He saw them killing a burrow of rats. He said to them, let them live, it is written (Ps. 145:9) “His mercy extends to all His creatures.”