Which sentence uses the underlined word correctly?

A.
Tammy borrowed a pencil off me.

B.
Tammy borrowed a pencil from me.