The Shulchan Aruch · Yoreh De'ah
יורה דעה ק״פYoreh De'ah 180
Siman 180 of 402 in Yoreh De'ah — 12 se'ifim
הלכות כתובת קעקע וקריחהTattooing and the Making of Bald Spots· siman 180
Se’if 1א׳
כְּתֹבֶת קַעֲקַע, הַיְנוּ שֶׁשּׂוֹרֵט עַל בְּשָׂרוֹ וּמְמַלֵּא מְקוֹם הַשְׂרִיטָה כָּחֹל אוֹ דְּיוֹ אוֹ שְׁאָר צִבְעוֹנִים הָרוֹשְׁמִים.
The Prohibition of tattooing, and balding for the dead. Contains 12 sections. Incised writing is defined as cutting one's flesh and filling the place of cutting with kohl [following the emendation of Biur HaGra YD 180.2] or ink or any other dye that leaves a mark.
Se’if 2ב׳
אִם עוֹשֶׂה כֵן עַל בְּשַׂר חֲבֵרוֹ, אוֹתוֹ שֶׁנַּעֲשָׂה לוֹ פָּטוּר, אֶלָּא אִם כֵּן סִיַּע בַּדָּבָר.
If he does this on his friend's flesh, the one to whom it was done is exempt unless he aided in the matter.
Se’if 3ג׳
מֻתָּר לִתֵּן אֵפֶר מַקְלֶה עַל מַכָּתוֹ.
One is permitted to place ash on their wound.
Shulchan Aruch, Yoreh De'ah — Torat Emet 357 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0