Talk about the “passion” of the Christ.

In the upcoming movie “Mary Magdalene” Rooney Mara plays the title character, with Joaquin Phoenix as Jesus Christ.

And sources exclusively tell Page Six that Phoenix and Mara fell for each other on the set while shooting the biblical epic and have been spending a lot of time together ever since.

Mara’s most recent film, “Lion,” was up for four Golden Globes on Sunday.

But Mara and famously reclusive Phoenix were instead “holed up together in the desert,” a Hollywood source said, rather than in LA for the awards with Mara’s nominated co-stars Dev Patel and Nicole Kidman.

The source told us that Mara and Phoenix have been spending time together after “they found love on the set” of their anticipated biblical tale, which filmed in Italy last year.

Rooney Mara and Charlie McDowellSplash News

Mara and Phoenix were spotted together numerous times when cameras weren’t rolling, including smoking together on the balcony of their hotel room in Matera in Southern Italy in November.

Phoenix’s rep insisted that they are “just good friends.”

“They worked on [2013 film] ‘Her,’ ‘Mary Magdalene’ and [their] next movie,” his rep said. “They are and have been good friends for quite a long time.”

They are starring in Gus Van Sant’s “Don’t Worry, He Won’t Get Far on Foot” for 2018.

Mara has been in a six-year relationship with Charlie McDowell — the director son of British actor Malcolm McDowell — and she stars in his Netflix film “The Discovery.”

But Mara and McDowell have not been photographed publicly since August, and both their reps had no comment.

“Mary Magdalene” is directed by Garth Davis, who made his feature directing debut with “Lion.”

The movie also stars Chiwetel Ejiofor and is said to be about “Mary’s spiritual journey … that will lead to the capital city of Jerusalem, where she must confront the reality of Jesus’ destiny and her own place within it.”