That's a big no-no. Gambling with another person's money is a great way to lose that person's trust and friendship.
You meant that borrow money from someone or to gamble with someone's money?
I don't recommend to borrow money from someone because it is too risky and you don't know how you can give the money back. besides that, if that money is for playing gambling, then you don't have to do this because you cannot win the game and you cannot always pay back the money. it is better to stay away from gambling especially if you don't have any money and it is better to search for a job so you can get the money.
The pressure we will get when gambling with money from loans is very heavy. It is okay if we are lucky and able to double or triple it. But what if we lose? We must chase it as soon as possible and to do so we may have to make other loans which will certainly add to the weight of the pressure we receive. It is better not to gamble with money that we cannot afford if we lose it.