Negative commandment · Lo Ta’aseh #318 of 613
Not to curse one's father or mother
שלא לקלל אב ואם
The verse · Shemot 21:17
וּמְקַלֵּל אָבִיו וְאִמּוֹ מוֹת יוּמָת
“And he that curses his father, or his mother, shall surely be put to death.”
The Rambam’s words
Not to curse one's father or mother, as [Exodus 21:17] states: "One who curses his father or mother shall surely die."
שלא לקלל אב ואם, שנאמר "ומקלל אביו ואימו, מות יומת" (שמות כא,יז).
Why · Sefer HaChinuch #260
To not curse father and mother
“It is from the roots of the commandment to remove fear of the accused and his curse from the judges, so that they will pronounce the true judgment.”
Who & when
“And [it] is practiced in all places and at all times by males and females, and so [too,] by [those the sex of which is in doubt].”
Where in the Mishneh Torah
Hilchot Rebels הלכות ממרים