Stephan El Shaarawy praised Anderlecht for their performance even with 10 men, but Milan “suffered” to earn qualification.
“The result was very important and we are so happy,” he said of the 3-1 victory in Belgium.
“It was like the Zenit game, when we managed to suffer and then bring home the result.”
The Little Pharaoh scored the opener and set up the third on a plate for Alexandre Pato.
“Pato is a great champion who needs to rediscover his form and consistency. I’m happy to have scored, but above all to have qualified.
“Anderlecht are a good side who played well and created good chances, but we defended strongly and must now think about Juve.
“I dedicate the win to us and to our fans who came all this way to support us. We’re very happy.”
Malaga had already qualified top of Group C by drawing 2-2 with Zenit earlier this evening, so Milan go through in second place with a round to spare.
Think you know your Italian football? Share your knowledge, tips and comments to win cash prizes in OLBG's tipster competition - £5,000 monthly.