O grupo inteiro divide a experiência entre eles
Each monster has an XP value based on its challenge rating. When adventurers defeat one or more monsters-typically by killing, routing, or capturing them-they divide the total XP value of the monsters evenly among themselves. If the party received substantial assistance from one or more NPCs, count those NPCs as party members when dividing up the XP. (DMG p.260)