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.