Britney Spears' upcoming appearance on the CBS show "How I Met Your Mother" could be — to borrow scene-stealer Barney's favorite word — legendary.

Spears will guest star in a March 24 episode of the cult series, CBS spokeswoman Kelli Raftery told The Associated Press on Tuesday. The pop star will portray a receptionist in a dermatologist's office named Abby who becomes "smitten" with Ted (Josh Radnor), Raftery said.

Craig Thomas, the show's creator, told Usmagazine.com that Spears attended a table reading with the cast on Monday, and that her scenes will probably be filmed later this week.