
Hadith parallels with OT/Rabbinic literature on cutting mustache and leaving beards
Hadiths
Sahih al-Bukhari 5893 and Sahih al-Bukhari 5892
>Allah's Messenger (ﷺ) said, "Cut the moustaches short and leave the beard (as it is).
Old Testament
>27 “‘Do not cut the hair at the sides of your head or clip off the edges of your beard.
Talmud and Jewish Law
>For marring the edges of his beard there are two edges from here, on one side of his face, and two from there, on the other side, and one from below, on his chin. Rabbi Eliezer says: If he removed the hair on all the edges of his beard in one action, he is liable to receive only one set of lashes for all of them.
>The mishna teaches: And one who mars the edge of his beard is flogged. The Sages taught: The edge of his beard is the extremity of his beard. And what is the extremity of his beard? It is the stalk of his beard, i.e., the five edges of the beard enumerated in the mishna where hair collects in one spot, like grain on stalks.
Side Question: Do we have any evidence from pre-Islamic Arabia (pagan or Christian) backgrounds had willingly shaved their beards and kept mustaches? Its mentioned in Sahih al-Bukhari 5892. The only source I could find mentioned it as a punishment or act of humiliation.