The following theorem is proved. Let m, k and n be positive integers. There exists a number η=η(m,k,n) depending only on m, k and n such that if G is any residually finite group satisfying the condition that the product of any η commutators of the form [xm,y1,…,yk ] is of order dividing n, then the verbal subgroup of G corresponding to the word w=[xm,y1,…,yk ] is locally finite.