Beans and Legumes
Though rich in protein and fiber, beans, lentils, and peas contain oligosaccharides that resist digestion by intestinal enzymes. We talked about how the gut of people with IBS can hardly handle any fiber that is not soluble.
Therefore, this is another potential trigger for your IBS symptoms. Experimenting with soaking dried beans or lentils overnight and thorough rinsing before cooking might aid in easier digestion for some individuals.