how i met your mother s07e23/24 - “the magician’s code part 1 &2”
E23 – while marshall is in atlantic city with barney, lily goes into labor, leaving him desperate to make it back to new york before the baby is born. meanwhile, ted and robin try to distract lily during her painful contractions.
E24 – on barney’s future wedding day, when his wife is finally revealed, the gang reminisces about the time they encouraged ted to follow his heart and go after the one that got away.
when lily and marshall have a baby shower, marshall starts to panic after realizing the baby is coming soon. meanwhile, ted and robin come to terms with their relationship and barney takes marshall on a road trip.
just as ted starts to settle into his new apartment alone, barney tries to entice him into going out every single night. meanwhile, lily has a naughty dream about someone other then marshall, and robin finally becomes a famous news anchor.