The Haemers–Mathon bound states that for any finite regular near hexagon with parameters , . In this paper, we generalize this bound to arbitrary finite near hexagons with an order. The obtained inequality involves the orders of the quads through a given line.