We introduce a new quadrature rule based on Chebyshev's and Simpson's rules. The corresponding composite rule induces the adaptive method of approximate integration. We propose a stopping criterion for this method and we prove that if it is satisfied for a function which is either 3-convex or 3-concave, then the integral is approximated with the prescribed tolerance. Nevertheless, we give an example of a function which does satisfy our criterion, but the approximation error exceeds the assumed tolerance. The numerical experiments (performed by a computer program created by the author) show that integration of 3-convex functions with our method requires considerably fewer steps than the adaptive Simpson's method with a classical stopping criterion. As a tool in our investigations we present a certain inequality of Hermite-Hadamard type.