Dictionary
jail'house law'yer
a prisoner who has taught himself or herself law while serving time, is knowledgeable about technical legal matters, and gives legal advice, esp. to fellow prisoners.
Random House Unabridged Dictionary, Copyright © 1997, by Random House, Inc., on Infoplease.