[Summary][Problem] The present invention aims to provide an agent for the prophylaxis or treatment of irritable bowel syndrome.[Solving Means] An agent for the prophylaxis or treatment of irritable bowel syndrome, containing a compound having a TGR5 receptor agonist activity, a fused ring compound represented by the formulawherein ring A is an optionally substituted aromatic ring, and ring B′ is a 5- to 9-membered ring having one or more substituents, or a salt thereof as an active ingredient.