Which famous Shakespeare play does the quote, “Neither a borrower nor a lender be” come from ?

Which famous Shakespeare play does the quote, “Neither a borrower nor a lender be” come from ?

A. Cymbeline
B. Hamlet
C. Titus Andronicus
D. Pericles, Prince of Tyre