Way back in 2005.

Parts of the "How I Met Your Mother" Series Finale Were Actually Filmed Nine Years Ago