Story is a greentext, the title says all. You can find the chapter here: http://pastebin.com/AyBpVdYC
And all the chapters in my pastebin: http://pastebin.com/u/Wand_of_inferno
If you want to read more situations of Anon in prison, search in /mlp/ for the thread “Anon in Pone prison”
The OP post has plenty of stories!