Exodus 21:17

"And he who curses his father or his mother shall surely be put to death.

Surrounding context

21:16 "He who kidnaps a man and sells him, or if he is found in his hand, shall surely be put to death.

21:17 "And he who curses his father or his mother shall surely be put to death.

21:18 "If men contend with each other, and one strikes the other with a stone or with his fist, and he does not die but is confined to his bed,

Translation and sources