Concept (IRE Q47):Betting (gambling, maisir) is forbidden in Islam (Qur'an 5:90). A Muslim should stop wrong by advising with wisdom.
Solution:The best action is to advise his friends on the harmful effects of betting, such as losing money, addiction and quarrels, and that it is haram.
A: threatening them does not help them understand.
C: praying is good, but he should also speak to them.
D: ignoring wrongdoing is not right for a Muslim.
Answer:Option B (advise them on the harmful effects of betting)