לֹא־תְקַלֵּ֣ל חֵרֵ֔שׁ וְלִפְנֵ֣י עִוֵּ֔ר לֹ֥א תִתֵּ֖ן מִכְשֹׁ֑ל וְיָרֵ֥אתָ מֵּאֱלֹהֶ֖יךָ אֲנִ֥י יְהוָֽה׃
Huwag mong susumpain ang bingi, at sa harap ng bulag ay huwag kang maglalagay ng katitisuran; at matakot ka sa iyong Diyos. Ako ang Walang-Hanggan.
Tur
It is forbidden to curse a judge, and one who curses him transgresses a negative commandment, as it is said, "You shall not curse the gods." Anyone who curses one of Israel transgresses a negative commandment, as it is said, "You shall not curse the deaf." And the Torah specifies the case of the deaf person to teach us that even though he does not hear and is not pained, all the more so one who hears and is pained by the curse incurs lashes for it. Maimonides wrote that one who curses a sleeping person is liable, since he is no different from a deaf person.
Tur
"Even the one who curses himself is obligated, as it is said, 'Take heed to yourself and diligently guard your soul.'"