Joel Madden’s marriage with Nicole Richie has reportedly been rescued by Pete Wentz.

The rocker and fashion designer tied the knot in 2010 and the couple share two young children together.

It’s been claimed their union has been in trouble of late, but it seems Fall Out Boy musician Pete has stepped in to save the day.

“Pete sat down with Joel recently and gave him a real serious talking to about the state of his marriage,” a source told

Pete was married to Ashlee Simpson, who is mother to his seven-year-old son Bronx, from 2008 to 2011.

Although he is now happily coupled up with girlfriend Meagan Camper, who gave birth to their child in August 2014, it’s claimed Pete has serious issues with how his union to Ashlee ended.

“Pete has so many regrets at how his marriage to Ashlee Simpson fell apart and told Joel everything he’d learned from that,” the insider explained. “The fact that it’s cheaper to get a sitter than a divorce – and sometimes it’s better to be wrong and married than right and alone.”

Apparently Pete also warned Joel about “the hell of having a ‘part-time family’ when it comes to the kids”.

And Good Charlotte musician Joel has supposedly listened to Pete’s guidance intently.

“His advice really hit home and Joel has told friends that if he and Nicole make it, he’s got Pete to thank,” the source said.

Joel is said to have also been relying on sister-in-law Cameron, who's married to his brother Benji, for help.

"Joel is determined to fight for Nicole. He's been leaning on Cameron, saying he doesn't want to give up on the marriage. He says he'll do whatever he can to prove his devotion to her and their family," an insider told British magazine Closer recently.