The result, coupled with Valencia's 1-0 defeat to Juventus, means the Red Devils join the Italians in booking a spot in the knockout phase with one group game to spare.
Manchester United are closer to the relegation zone than they are to their inner city rivals Manchester City.
Jose Mourinho's men had been awful for much of the match before a long ball was pumped up to Romelu Lukaku, who flicked the ball onto Marouane Fellaini and the United midfielder appeared to control the ball with his hand before driving the ball into the Young Boys net.
"If you feel pressure, stay at home - and when I say home I don't say stadium home, I say home home and watch on TV", Mourinho told a news conference. I don't feel pressure to play at home. I would say immediately to play at home. One man who, in spite the horrific man management of Jose Mourinho, has managed to excel in recent weeks. And with that in mind, Jose Mourinho has chosen the starting XI.
Progress would be a welcome shot in the arm after Saturday's tepid goalless draw with struggling Crystal Palace, which left them 14 points behind Premier League leaders Manchester City and with a mere three wins from nine home matches in all competitions.
Mane signs new long-term deal with Liverpool
It is hard to get information about it but in training he is completely normal - in good shape, looks sharp, looks focused. Klopp said the contract renewal was further evidence that his best players didn't have to leave in order to chase success.
"The performance had a lot of good things and a lot of disappointing things too".
"Sometimes, of course, it might look like that [players don't have enough desire] but I look in the training ground and I look around the changing room and I think everyone wants the same and that's to win games and to climb up the table", said Shaw.
"(Lindelof) does the scan (Tuesday) but, by the experience of the medical department and the feelings of the player, he has a muscular problem and a muscular problem takes time", he added.
"Obviously thats what we need to do". The home side's best effort came in the opening minutes of the match when Marcus Rashford's chip from Jesse Lingard's through ball was sent over the bar.