Doesn't say where he said it. Its like an urban legend. I've had someone quote me something he said that was kind of maybe sort of similar, attributed to a journal published like 40 years after his death, that is only in Russian. But if even that one quote is in that journal, which has nothing to do with rope or hanging anyone, I can't figure out where.
It's the only line of Lenin most people know and I don't think he even said it