We always use the before same.
- Give me the same again, please.
(NOT Give me same again, please.)
I want the same shirt as my friend’s.
(NOT I want ttsame shirt like my friend.)
We use the same as before a noun or pronoun.
- Her hair s the same colour as her mother’s.
(NOT . . . the same colour like her mother’s.)
We use the same that before a clause.
- That’s the same man that asked me for money yesterday.