You're thinking of "Road to Europe" (Season 3, Episode 20, originally aired May 2002). In the opening scene, Stewie examines his reflection in a mirror and notices a "little thing" floating in his eye that moves when he blinks. Convinced it's a tiny person living inside his eyeball, he spirals into obsessive paranoia—even using Brian as a makeshift catapult to launch food into his own eye to "feed" the imagined resident.
The bit is classic Family Guy: absurd premise, escalating physical comedy, and Stewie's deadpan delivery of ridiculous logic ("He's hungry, Brian! He's been in there for weeks!"). It's a brief gag, not a full plotline, but it perfectly encapsulates the show's surreal humor and Stewie's theatrical hypochondria.
The episode's main plot sends Brian and Stewie on a European backpacking trip, but the eye-floater cold open remains one of the series' most memorable non-sequiturs.