Will Ferrell and Kevin Hart have signed on to star in the upcoming comedy Get Hard for Warner Bros. The project does not have a director attached as of yet.

The story follows a wealthy investment banker (Will Ferrell) who is sentenced to a maximum security prison for a crime he didn't commit. He enlists the help of the man who usually washes his car (Kevin Hart) to prepare him for doing hard time before he has to report to prison in 30 days.

Ian Roberts and Ian Roberts, who serve as executive producers and showrunners on Comedy Central's Key & Peele, wrote the screenplay, with Gary Sanchez attached to produce.

Will Ferrell will next be seen in Anchorman: The Legend Continues sometime next year. Kevin Hart stars in the upcoming comedies About Last Night and Grudge Match.