Baka to Test to Shoukanjuu Ni!, Prison School Recommendations
Similarities: Both are comedies in which a small group of high school boys get caught doing pervy things (e.g., peeping in the girl’s shower room) and, subsequently, are harshly punished by some of the school's girls. The boys are constantly trying to come up with plans to escape their predicaments.
Some differences: Baka to Test generally has more of an upbeat, cheery vibe, whereas Prison School has more of a serious/darker vibe (though both are still comedies). Baka to Test is more episodic, and it delves into other story lines, whereas Prison School largely follows a singular story line.