Goalkeeper Anatoliy Trubin scored a 98th-minute header as Benfica defeated Real Madrid 4-2 to secure a Champions League knockout place on Wednesday and deny their opponents an automatic spot in the last 16. Goals from Robert Lewandowski, Lamine Yamal, Raphinha and Marcus Rashford ensured the Catalans finished fifth in the standings on 16 points. View image in fullscreen Anatoliy Trubin heads home in stoppage time to earn Benfica a playoff spot on goal difference. It will work in a similar way, with each playoff winner paired with a team who qualified automatically by finishing in the top eight. Olympiakos grabbed a playoff spot with a 2-1 win away at Ajax, Santiago Hezze’s 79th-minute goal proving the winner.