This information came from a site titled Very Well. I just had to share.
Gassiest Vegetables and Legumes
The following vegetables are those most likely to give you gas due to the fact that they contain raffinose and/or fructose. Remember these vegetables are actually very good for you, so just avoid them on those occasions when you absolutely need to be gas-free.
Cannelinni (white) beans