The Simpsons Season 19 Episode 9
Eternal Moonshine of the Simpson Mind
Homer wakes up in the snow with no memory from the night before, and Moe informs him he drank a "Forget-Me-Shot", a drink powerful enough to rid the previous 24 hours from a user's mind. With his family missing, Chief Wiggum and Ned Flanders tell him of a domestic disturbance from the night before, prompting Homer to worry he may have done something awful and tries to regain his memories with help from Professor Frink. After gaining portions of his memory, Homer believes Marge cheated on him and that Homer beat up his wife in retaliation.