The Day of the Doctor
As he departs, the Doctor tells the Osgoods that "I'm a very big fan", the same thing Osgood says to the Eleventh Doctor in "The Day of the Doctor".