Milan are now four points clear at the top of the Serie A table.
Ibrahimovic said: “We are keeping our rhythm and playing our game.
“What happens behind us gives us an advantage and the more points we get the bigger lead we have.
“I had a little luck with the goal. Robinho gave me a good ball and I saw the goalkeeper was a little off his line.”