Rabbeinu Yonah writes (Shaarei Teshuvah 1:2) a parable in the name of "Midrash Koheles" that at first glance makes no sense. I have my own theory about a way to explain it, but I wanted to check what the commentaries say. However, I have no idea of where this midrash is.
The "Ohr Chadash" (at the bottom of that page of Shaarei Teshuvah) says that it is Koheles Rabbah 6:32. The problem is that there is no Koheles Rabbah 6:32.
The Midrash cited is as follows: A king captured a group of bandits. The bandits dug a tunnel and escaped, but one remained. The prison guard beat the guy who didn't leave. (This is supposed to be a parable for someone who doesn't repent.)
Does anyone know where this midrash can be found?