If you haven't found it yet, you find the knitting needle in the tower thing with the ghost things (the place where you can Decayed Time, which is dropped from an enemy in that place).
You can't just ....... Stop!
So, do you know how to get an ancient scroll?
how do you open the jail door