Excellent work by your fellow student. This is not quite a Shakespearean quote, nor is it a correct quote. It is, indeed, from a sonnet written by Sir Thomas Wyatt. The sonnet, like so many from the Elizabethan era, are not named, so it is generally known by either a few words or the entire first line: "They flee from me, that sometime did me seek" or "They flee from me."
The lines are actually as follows:
When her loose gown did from her shoulders fall,
And she me caught in her arms long and small,
And therewithal sweetly did me kiss,
And softly said, 'Dear heart, how like you this?'
Sonnets of that time could have been written about anyone, no one in particular, or someone special. In this case, there is speculation that Wyatt was writing about Anne Boleyn, wife of Henry VIII, with whom he was accused of having an affair--which he paid for with his life.
I've included a link to the entire poem, below.