Jamie Foxx and Will Ferrell are starring together in a brand-new movie.

This summer, the actors will portray talking dogs in Strays, a hilarious, R-rated, live-action comedy “about the complications of love, the importance of great friendships, and the unexpected virtues of couch-humping.

Strays is produced by Picturestart founder and CEO Erik Feig, Louis Leterrier, Dan Perrault, Phil Lord and Chris Miller and Aditya Soo. Jessica Switch, Nikki Baida, Julia Hammer serve as executive producers.

The film will be unleashed in theaters on June 9.

Here's an official description:

They say a dog is a man’s best friend, but what if the man is a total dirtbag? In that case, it might be time for some sweet revenge, doggy style. 

When Reggie (Ferrell), a naïve, relentlessly optimistic Border Terrier, is abandoned on the mean city streets by his lowlife owner, Doug (Forte), Reggie is certain that his beloved owner would never leave him on purpose. 

But once Reggie falls in with a fast-talking, foul-mouthed Boston Terrier named Bug (Foxx), a stray who loves his freedom and believes that owners are for suckers, Reggie finally realizes he was in a toxic relationship and begins to see Doug for the heartless sleazeball that he is.  

Determined to seek revenge, Reggie, Bug and Bug’s pals—Maggie (Fisher), a smart Australian Shepherd who has been sidelined by her owner’s new puppy, and Hunter (Park), an anxious Great Dane who’s stressed out by his work as an emotional support animal—together hatch a plan and embark on an epic adventure to help Reggie find his way home … and make Doug pay by biting off the appendage he loves the most. (Hint: It’s not his foot).  

In addition to Will Ferrell, Jamie Foxx, Will Forte, Isla Fisher, and Randall Park, the cast includes:

Josh Gad, Harvey Guillén, Rob Riggle, Brett Gelman, Jamie Demetriou and  Sofia Vergara.

Check out the trailer below: