2 occurrences across the corpus

The Babylonian Talmud

Babylonian Talmud Makkot 2:47

Gemara: "The father is exiled for his son." But didn't you say (in an earlier Mishnah) that a father who strikes his son is not exiled? But he was learned (which is why he would be exiled, since it was not a hit of a Mitzvah). But you said, even when he is learned, it actually is a Mitzvah that he is doing [so he would not be exiled]. [Here, we're talking about when the father is a carpenter and his son] is a carpenter's apprentice [so he is just teaching him a trade—and he would not be exiled].

Babylonian Talmud Makkot 2:48

Learning [to be] a carpenter's apprentice is a livelihood that he is teaching him! [Actually] he is teaching him another trade [that is not his livelihood—so striking and killing him inadvertently will result in exile).