Q: If someone gives you money that you know is from gambling, can one accept it?
A: If you are certain that the money has been acquired through gambling, it is not permissible to accept such money. If one has already taken the money, it is necessary to give that amount in sadqa without any intention of thawaab.