Neymar scored a spectacular goal as Barcelona came from behind to beat Paris St-Germain at the Nou Camp and finish top of Group F.
Zlatan Ibrahimovic gave the visitors, who started the game top, a 15th-minute lead with a low finish from 10 yards after being teed-up by Blaise Matuidi.
But Barcelona were behind for only four minutes, Lionel Messi equalising with his 75th goal in the competition after Luis Suarez's ball across the six-yard area.
Lucas missed a golden chance for the visitors before Neymar's sublime 41st-minute finish, a 25-yard effort that dipped and curled before nestling in the back of the net.
Edinson Cavani had a shot cleared off the line by Barcelona's Marc Bartra before Suarez stabbed home his side's third goal after goalkeeper Salvatore Sirigu had kept out Neymar's 77th-minute effort.
Paris St-Germain will enter Monday's last-16 draw unseeded and will hope to avoid a future meeting with Barcelona in the competition after being taught a lesson in finishing.