The Adventure of the Empty House
Holmes mentions Moriarty reminiscently in five other stories: "The Adventure of the Empty House" (the immediate sequel to "The Final Problem"), "The Adventure of the Norwood Builder", "The Adventure of the Missing Three-Quarter", "The Adventure of the Illustrious Client", and "His Last Bow" (the final adventure in Sherlock's canon timeline, taking place years after he has officially retired).