2 occurrences across the corpus

The Babylonian Talmud

Babylonian Talmud Makkot 3:225

MISHNA: One who writes a tattoo, If he inks it without needling or he needles it without inking, he isn't liable unless he both inks and needles [the tattoo] with black ink, blue ink, or anything else that leaves a mark. Rebbi Shimon ben Yehudah says in the name of Rebbi Shimon, One is not liable unless he writes the name of HaShem that it is said (Leviticus 19, 28) "And a tattoo you shall imprint in yourselves, I am the Lord".

Babylonian Talmud Makkot 3:226

GEMARA: Rav Acha brei d'Rava said to Rav Ashi, Is [one not liable for a tattoo] until he actually writes "I am Hashem"? [Rav Ashi] responded, no, it's as bar Kafra taught, one is not liable until he writes the name of a false deity, that the Torah says, "a tattoo you shall not imprint on yourselves, I am Hashem.