The paper deals with the numerical approximation of integrals of the type I(f,y):=∫−11f(x)k(x,y)dx,y∈S⊂R where f is a smooth function and the kernel k(x,y) involves some kinds of “pathologies” (for instance, weak singularities, high oscillations and/or endpoint algebraic singularities). We introduce and study a product integration rule obtained by interpolating f by an extended Lagrange polynomial based on Jacobi zeros. We prove that the rule is stable and convergent with the order of the best polynomial approximation of f in suitable function spaces. Moreover, we derive a general recurrence relation for the new modified moments appearing in the coefficients of the rule, just using the knowledge of the usual modified moments. The new quadra...