“There are more things in heaven and earth, Horatio, Than are dreamt of in your philosophy.”
William Shakespeare wrote this in Hamlet. It appears in Act I, Scene 5.
Where it appears
And therefore as a stranger give it welcome. There are more things in heaven and earth, Horatio, Than are dreamt of in your philosophy. But come; Here, as before, never, so help you mercy, How strange or odd soe’er I bear myself, As I perchance hereafter shall think meet
From the public-domain edition, read it free.