All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
Al-Maawirdi from the Shaafi'i School said: "Gambling is when a person who participates with money [in a game] either wins or loses." Therefore, if you did not contribute with any money to participate in this prize, and you won it without paying anything, it is permissible for you to accept it provided that this money is not a result of lottery. Lottery is gambling which is forbidden and so it is not permissible to accept it even if it was given to the person without him participating in it. However, if you receive anything from it without you asking for it, then take it and distribute it among the poor and destitute people and in the general benefits of Muslims.