21 Jump Street

In 2005, scholarly student Morton Schmidt and popular underachieving jock Greg Jenko miss their school prom, Schmidt being rejected by the girl he asked to be his date and Jenko being barred from attending due to failing grades. Several years later in 2012, the duo meets again at the Police Academy and become friends and partners on bicycle patrol. They catch a break when they arrest Domingo, the leader of a one-percenter motorcycle gang, but are forced to release him after they failed to read him his Miranda rights.