Parshas Kedoshim · Passuk 19:27
Chabad.org — English translation + Rashi
Torah Temimah on Vayikra 19:27 · Makkos 20a · Rambam Avodah Zarah 12:1–2
The corner of your heads — The end of the head: one who levels the temples to the back of the ear and the forehead; two corners, right and left.
Classical derasha (TT)
Peyos are the hair at the temples; cutting them flush with forehead and behind the ear is the ban (chukas ha-goyim).