(And We made it) turning them into apes (an example) we subjected them to a chastisement (to their own) for the sins they had committed before, (and) made them a lesson (to succeeding generations) in order that they do not follow their example (and admonition to the God-fearing) and a counsel and warning to those who fear Allah, i.e. Muhammad (pbuh) and his Companions.