The scene where Hamlet holds the skull in his hand is one of the most iconic moments in William Shakespeare's play Hamlet. This occurs in Act V, Scene I, during the graveyard scene.
As Hamlet gazes at the skull, he says:
"Alas, poor Yorick! I knew him, Horatio: a fellow of infinite jest, of most excellent fancy." - Shakespeare