Praise be to Allaah.
If the matter is as you
describe and you had nothing to do with the company and knew nothing about
it, and if taking the prize does not involve advertising or promoting the
company and the gambling it organizes, then there is nothing wrong with you
taking it and benefiting from it.
See also the answer to
question no. 20952.
And Allaah knows
best.